Contenu principal

matlab.toml[simulink]

R2026b

Configure Simulink-specific settings of your project using matlab.toml

Since R2026b

Configure Simulink®-specific settings of your project using the matlab.toml file

Note

The properties in the matlab.toml file are grouped in tables. To see the list of all tables and properties, see matlab.toml.

When you edit Simulink-specific project settings and configuration using the user interface, the project logs this information in the matlab.toml. You might need to read and edit the TOML file when comparing versions or resolving conflicts.

This TOML code configures the project to start Simulink and refresh Simulink customization on project startup. The example code also specifies where to store cache files and code generation artifacts.

[simulink]
start-simulink = true
refresh-customizations = true
cache-folder = "DerivedFiles/cacheFolder"
codegen-folder = "DerivedFiles/codegenFolder"

Properties

expand all

All properties in the matlab.toml file are optional.

[simulink]

Option to start Simulink on project startup, specified as a true or false.

Option to refresh Simulink customization on project startup, specified as a true or false.

Folder to store the Simulink cache, specified as string scalar.

Folder to store the code generation files, specified as string scalar.

Version History

Introduced in R2026b