Main Content

Run MATLAB in GitHub Codespaces

Use GitHub® Codespaces to run your MATLAB® code in the cloud on GitHub. Codespaces allow you to:

  • Configure a consistent and customizable development environment on GitHub.

  • Run MATLAB with other software or programming languages.

  • Use Git™ to contribute to your repository.

To learn more about Codespaces, see Codespaces Documentation (GitHub).

Get Started with MATLAB in Codespaces

To run MATLAB in Codespaces, see the instructions in this repository:

You can use your MATLAB codespace to:

  • Run and debug .m files in VS Code.

  • Run MATLAB code in Jupyter Notebooks in both VS Code and JupyterLab.

  • Switch to the MATLAB IDE to use more MATLAB features.

MATLAB running in Visual Studio Code in a Codespace

External Websites