Skip to main content

TLJH plugin for MATLAB

Project description

tljh-matlab

TLJH plugin for The Littlest JupyterHub that installs MATLAB, and the MATLAB Integration for Jupyter.

The Littlest JupyterHub installation can install plugins that provide additional features, in the JupyterHub stack being provisioned.

The tljh-matlab plugin installs:

  • A specified version of MATLAB
  • The system libraries required by MATLAB
  • The MATLAB Integration for Jupyter, to enable the usage of MATLAB via Notebooks, and to access the MATLAB desktop from Jupyter. See jupyter-matlab-proxy for more information.

Command to install plugin:

docker run   --privileged   --detach   --name=tljh-dev   --publish 12000:80   --mount type=bind,source="$(pwd)",target=/srv/src  tljh-systemd
docker exec -it tljh-dev /bin/bash
python3 /srv/src/bootstrap/bootstrap.py --admin admin:password --plugin tljh-matlab

To customize the default values used by the plugin , set the appropriate environment variable before the bootstrap command

Environment Variable Name Default Values Notes
MATLAB_RELEASE R2024a Specify the MATLAB release you would like to install
MATLAB_PRODUCT_LIST "MATLAB Symbolic_Math_Toolbox" See --products section of MPM.md for information on the supported products and their name specification. For example to install Simulink along with MATLAB use "MATLAB Simulink"
MATLAB_INSTALL_DESTINATION /opt/matlab/R2024a Specify the path to the location you would like to install MATLAB
OS ubuntu22.04 See matlab-deps for the list of supported OS values by Release.

Example:

env MATLAB_RELEASE=R2023b MATLAB_PRODUCT_LIST="MATLAB Simulink" python3 /srv/src/bootstrap/bootstrap.py --admin admin:password --plugin tljh-matlab

Copyright 2024 The MathWorks, Inc.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tljh_matlab-0.0.3.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

tljh_matlab-0.0.3-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page