You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds e2e smoke test which starts jupyter, starts a kernel, and verifies that it can connect and run a MATLAB command. This runs on every commit to main.
@@ -41,7 +41,7 @@ From your Jupyter notebook or JupyterLab, you can also open the MATLAB developme
41
41
# Confirm MATLAB is on the PATH
42
42
which matlab
43
43
```
44
-
Note: You only need MATLAB installed if you want to execute MATLAB code. You can open Jupyter notebooks containing MATLAB code without having MATLAB installed.
44
+
Note: You only need MATLAB installed if you want to execute MATLAB code. You can open Jupyter notebooks containing MATLAB code without having MATLAB installed.
45
45
46
46
* System dependencies required to run MATLAB:
47
47
- The [MATLAB Dependencies](https://github.com/mathworks-ref-arch/container-images/tree/master/matlab-deps) repository contains `base-dependencies.txt` files that list the libraries required to run each release of MATLAB on a given operating system. To see how to use these files, refer to the Dockerfiles in the same folder.
@@ -51,16 +51,16 @@ From your Jupyter notebook or JupyterLab, you can also open the MATLAB developme
51
51
```bash
52
52
# On a Debian/Ubuntu based system:
53
53
$ sudo apt install xvfb
54
-
54
+
55
55
# On a RHEL based system:
56
56
$ yum search Xvfb
57
57
xorg-x11-server-Xvfb.x86_64 : A X Windows System virtual framebuffer X server.
58
58
$ sudo yum install xorg-x11-server-Xvfb
59
-
```
59
+
```
60
60
61
61
## Install
62
62
63
-
Install this Python package from the Python Package Index (PyPI) or build it from the source.
63
+
Install this Python package from the Python Package Index (PyPI) or build it from the source.
Installing this package will not install MATLAB. To execute MATLAB code in Jupyter, you must have [MATLAB installed](https://www.mathworks.com/help/install/install-products.html) separately.
71
71
72
-
The package lets you execute MATLAB code in both JupyterLab 3 and JupyterLab 4, but syntax highlighting and autoindentation are currently only supported on JupyterLab 3. Install JupyterLab 3 using:
72
+
The package lets you execute MATLAB code in both JupyterLab 3 and JupyterLab 4, but syntax highlighting and auto indentation are currently only supported on JupyterLab 3. Install JupyterLab 3 using:
@@ -111,12 +111,12 @@ Open your Jupyter environment by starting Jupyter Notebook or JupyterLab.
111
111
jupyter notebook
112
112
113
113
# For JupyterLab
114
-
jupyter lab
114
+
jupyter lab
115
115
```
116
116
117
-
If you are prompted for a token, click the link shown in your terminal to access your Jupyter environment.
117
+
If you are prompted for a token, click the link shown in your terminal to access your Jupyter environment.
118
118
119
-
After installing this package, you see new MATLAB options in your Jupyter environments.
119
+
After installing this package, you see new MATLAB options in your Jupyter environments.
120
120
121
121
122
122
| Classic Notebook Interface | JupyterLab |
@@ -126,7 +126,7 @@ After installing this package, you see new MATLAB options in your Jupyter enviro
126
126
127
127
## Run MATLAB Code in a Jupyter Notebook
128
128
129
-
To open a Jupyter notebook where you can run MATLAB code, click `MATLAB Kernel` in your notebook or JupyterLab.
129
+
To open a Jupyter notebook where you can run MATLAB code, click `MATLAB Kernel` in your notebook or JupyterLab.
130
130
131
131
132
132
| Classic Notebook Interface | JupyterLab |
@@ -139,7 +139,7 @@ This opens a Jupyter notebook that supports MATLAB.
139
139
140
140
141
141
- When you execute MATLAB code in a notebook for the first time, enter your MATLAB license information in the dialog box that appears. See [Licensing](https://github.com/mathworks/matlab-proxy/blob/main/MATLAB-Licensing-Info.md) for details. The MATLAB session can take a few minutes to start.
142
-
- Multiple notebooks running on a Jupyter server share the underlying MATLAB process, so executing code in one notebook affects the workspace in others. If you work in several notebooks simultaneously, be aware that they share a workspace.
142
+
- Multiple notebooks running on a Jupyter server share the underlying MATLAB process, so executing code in one notebook affects the workspace in others. If you work in several notebooks simultaneously, be aware that they share a workspace.
143
143
- With MATLAB R2022b and later, you can define a local function at the end of the cell where you want to call it:
For technical details about how the MATLAB kernel works, see [MATLAB Kernel for Jupyter](https://github.com/mathworks/jupyter-matlab-proxy/blob/main/src/jupyter_matlab_kernel/README.md).
@@ -153,15 +153,15 @@ To access more MATLAB features, you can open the MATLAB development environment
When you use the package for the first time, enter your MATLAB license information in the dialog box that appears. See [Licensing](https://github.com/mathworks/matlab-proxy/blob/main/MATLAB-Licensing-Info.md) for details.
164
+
When you use the package for the first time, enter your MATLAB license information in the dialog box that appears. See [Licensing](https://github.com/mathworks/matlab-proxy/blob/main/MATLAB-Licensing-Info.md) for details.
165
165
166
166
For technical details about this MATLAB development environment, see [MATLAB in a Browser](https://github.com/mathworks/jupyter-matlab-proxy/blob/main/src/jupyter_matlab_proxy/README.md).
167
167
@@ -172,7 +172,7 @@ You can also edit MATLAB `.m` files in JupyterLab. Click the `MATLAB File` butto
0 commit comments