Simulink Data Explorer Extension for Visual Studio CodeThis extension provides support for viewing data from Simulink® models and projects and editing Simulink data dictionaries, MAT-files and model workspaces in Visual Studio Code. It includes a hierarchical relationship tree that maps how your files reference each other, a table for browsing and editing file contents, and detailed properties for the selected data entries. You can use this extension with or without MATLAB® or Simulink installed on your system.
Get StartedInstallationYou can install the extension from the Visual Studio Code Marketplace: open the Extensions view (Ctrl/Cmd+Shift+X), search for Simulink Data Explorer, and click Install. Or, from the command line:
Optional: installation from a
|
| Files | Formats | Support |
|---|---|---|
| Simulink data dictionaries | .sldd JSON and compressed-binary |
Read and write |
| Simulink models | .slx, .mdl |
Read only, but the Model Workspace and the active configuration of an .slx: read and write |
| MAT-files | .mat Level 5 (-v6/-v7) |
Read and write |
| MATLAB Projects | .prj, matlab.toml |
Read only |
Limitations
- Requires Visual Studio Code 1.106.0 or later.
- Editing supports Simulink data dictionary (SLDD) files, MAT-files and the Model Workspace of an SLX model. The rest of a model, MDL models and project files are read only. A model workspace loaded from a MAT-file or made by MATLAB code is read only; edit its source instead.
- To make another configuration of an SLX model the active one, right-click it in the Configurations section and choose Set as Active Configuration. A configuration reference can be made active too: without MATLAB the extension cannot check that the configuration it refers to will be found, so it warns you to confirm in MATLAB.
.matsupport covers the Level 5 format only.-v7.3files, which are HDF5 and are required by MATLAB for variables above 2 GB, are not supported.- Large textual (JSON)
.slddfiles are limited by size. Above 50 MB, the file opens as a read only table. Above 512 MB, the file opens in Visual Studio Code's text editor instead. - Paste creates a new top level entry in the target section. Pasting as a child of a structure or bus is not supported.
- Reference resolution matches files by name (basename), preferring the referrer's own project or folder. Two project markers in the same directory are not supported.
.mfiles are not scanned, so a project whose members are only.mfiles appears as an empty group, which is common for amatlab.tomlproject.- A
matlab.tomlproject page shows no member count and no label coverage fraction: that file records no member list, so each label is shown with the entries it declares instead. Clickingmatlab.tomlin the Visual Studio Code Explorer opens it in the text editor.
Contact Us
We encourage all feedback. If you encounter a technical issue or have an enhancement request, create an issue here or contact MathWorks at support@mathworks.com.
License
Distributed under the BSD 3-Clause License. See LICENSE for details.
Copyright 2026 The MathWorks, Inc.
