The
jupyter-matlab-proxy
Python® package allows you to integrate MATLAB® with Jupyter®. The MATLAB integration for Jupyter enables you to open a MATLAB desktop in a web browser tab, directly from your Jupyter environment. This is not a kernel integration.
The MATLAB Integration for Jupyter is under active development and you might find issues with the MATLAB graphical user interface. For support or to report issues, see the Feedback section.
Once you have a Jupyter environment with the jupyter-matlab-proxy
package installed, to use the integration, follow these steps:
Open your Jupyter environment.
If you are using Jupyter Notebook (on the left in figure below), on the New
menu, select MATLAB
. If you are using JupyterLab (on the right in figure below), select the MATLAB icon on the launcher.
Wait for the MATLAB session to start. This can take several minutes.
To manage the MATLAB integration for Jupyter, click the tools icon shown below.
Clicking the tools icon opens a status panel with buttons like the ones below:
The following options are available in the status panel (some options are only available in a specific context):
The jupyter-matlab-proxy
package requires a Linux® operating system.
If you want to install this package in a Jupyter Docker® image, see Use MATLAB Integration for Jupyter in a Docker Container. Otherwise, if you want to install the jupyter-matlab-proxy
package into a preexisting Jupyter environment, follow the instructions below.
To install the jupyter-matlab-proxy
package, follow these steps in your Jupyter environment on a Linux OS:
jupyter-matlab-proxy
package by executing:python -m pip install jupyter-matlab-proxy
If you want to use this integration with JupyterLab®, ensure that you have JupyterLab installed on your machine by running the following command:
python -m pip install jupyterlab
You should then install jupyterlab-server-proxy
JupyterLab extension. To install the extension, use the following command:
jupyter labextension install @jupyterlab/server-proxy
For more information see GUI Launchers.
This package supports the same subset of MATLAB features and commands as MATLAB Online. For a full list supported products and limitations, see Specifications and Limitations. For a list of browser requirements, see Cloud Solutions Browser Requirements. If you need to use functionality that is not yet supported, you can leverage the alternative MATLAB Integration for Jupyter using VNC.
If you want to use this integration with JupyterHub®, then you must install the jupyter-matlab-proxy
Python package in the Jupyter environment launched by your JupyterHub platform. For example, if your JupyterHub platform launches Docker containers, then install this package in the Docker image used to launch them. You can find a reference architecture that installs the jupyter-matlab-proxy
Python package in a Docker image in the repository Use MATLAB Integration for Jupyter in a Docker Container.
We encourage you to try this repository with your environment and provide feedback – the technical team is monitoring this repository. If you encounter a technical issue or have an enhancement request, send an email to jupyter-support@mathworks.com
.
Version | Tag | Published |
---|---|---|
0.4.0 | 1yr ago | |
0.3.9 | 1yr ago | |
0.3.5 | 1yr ago | |
0.3.3 | 1yr ago |