Skip to content

Latest commit

 

History

History
64 lines (40 loc) · 2.98 KB

README.md

File metadata and controls

64 lines (40 loc) · 2.98 KB

MATLAB Feature for Development Containers

Use the MATLAB Feature in this repository to add MATLAB®, Simulink®, and other MathWorks™ products to your development containers.

For more information about running MATLAB in dev containers, see Run MATLAB in GitHub™ Codespaces.

Get Started

A development container Feature (GitHub) is self-contained code you can use to add functionality to your development container. You can add a feature to your development container by modifying devcontainer.json, the configuration file of the container. For instructions on creating a development container and adding a feature, see Create a Dev Container (VS Code Docs).

Use the MATLAB Feature to:

Usage

To use the MATLAB Feature, include it in your dev container by specifying the devcontainer.json configuration file with your desired MATLAB Feature Options.

For example, to install MATLAB R2024a with Symbolic Math Toolbox in a ubuntu base image, use this devcontainer.json configuration:

{
    "image": "ubuntu:latest",
    "features": {
        "ghcr.io/mathworks/devcontainer-features/matlab:0": {
            "release": "r2024a",
            "products": "MATLAB Symbolic_Math_Toolbox"
        }
    }
}

This configuration installs MATLAB R2024a in your dev container and adds the matlab executable to your PATH.

Related Links

Codespaces:

Dev Containers:

Dev Container Features:


Copyright 2024 The MathWorks, Inc.