Skip to content

Instantly share code, notes, and snippets.

@yanndebray
Last active September 29, 2025 15:26
Show Gist options
  • Select an option

  • Save yanndebray/e267617c78a3f24c875cb57570bdd3b9 to your computer and use it in GitHub Desktop.

Select an option

Save yanndebray/e267617c78a3f24c875cb57570bdd3b9 to your computer and use it in GitHub Desktop.

Revisions

  1. yanndebray revised this gist Sep 29, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion get_matlab_on_colab.sh
    Original file line number Diff line number Diff line change
    @@ -9,5 +9,5 @@ MATLAB_DEPENDENCIES=base-dependencies.txt && \
    wget ${MATLAB_DEPS_URL} -O ${MATLAB_DEPENDENCIES} && \
    xargs -a ${MATLAB_DEPENDENCIES} -r apt-get install --no-install-recommends -y && \
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/matlab/bin/glnxa64 && \
    python3 -m pip install jupyter-matlab-proxy matlabengine && \
    python3 -m pip install jupyter-matlab-proxy matlabengine==25.1.2 && \
    env MWI_APP_PORT=3000 MWI_ENABLE_AUTH_TOKEN=False matlab-proxy-app &
  2. yanndebray revised this gist Aug 15, 2025. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion get_matlab_on_colab.sh
    Original file line number Diff line number Diff line change
    @@ -2,7 +2,7 @@

    wget https://www.mathworks.com/mpm/glnxa64/mpm && \
    chmod +x mpm && \
    ./mpm install --release=R2025a --destination=/opt/matlab --products=MATLAB && \
    ./mpm install --release=R2025a --destination=/opt/matlab --products=MATLAB Parallel_Computing_Toolbox Deep_Learning_Toolbox Statistics_and_Machine_Learning_Toolbox && \
    ln -fs /opt/matlab/bin/matlab /usr/local/bin/matlab && \
    MATLAB_DEPS_URL="https://raw.githubusercontent.com/mathworks-ref-arch/container-images/main/matlab-deps/r2025a/ubuntu22.04/base-dependencies.txt" && \
    MATLAB_DEPENDENCIES=base-dependencies.txt && \
  3. yanndebray created this gist Jun 27, 2025.
    13 changes: 13 additions & 0 deletions get_matlab_on_colab.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    #!/bin/bash

    wget https://www.mathworks.com/mpm/glnxa64/mpm && \
    chmod +x mpm && \
    ./mpm install --release=R2025a --destination=/opt/matlab --products=MATLAB && \
    ln -fs /opt/matlab/bin/matlab /usr/local/bin/matlab && \
    MATLAB_DEPS_URL="https://raw.githubusercontent.com/mathworks-ref-arch/container-images/main/matlab-deps/r2025a/ubuntu22.04/base-dependencies.txt" && \
    MATLAB_DEPENDENCIES=base-dependencies.txt && \
    wget ${MATLAB_DEPS_URL} -O ${MATLAB_DEPENDENCIES} && \
    xargs -a ${MATLAB_DEPENDENCIES} -r apt-get install --no-install-recommends -y && \
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/matlab/bin/glnxa64 && \
    python3 -m pip install jupyter-matlab-proxy matlabengine && \
    env MWI_APP_PORT=3000 MWI_ENABLE_AUTH_TOKEN=False matlab-proxy-app &