Skip to content

This repository contains the MATLAB Feature for using MATLAB in development containers.

License

Notifications You must be signed in to change notification settings

mathworks/devcontainer-features

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

This repository contains the MATLAB Feature for using MATLAB in development containers.

Resources

License

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors 4

  •  
  •  
  •  
  •  

Languages