All notable changes to the "language-matlab" extension will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Support for creating and opening MATLAB projects (Addresses mathworks/MATLAB-extension-for-vscode#123)
- Warnings in the MATLAB terminal now appear in yellow (Community contribution from @phmandl)
- Improved contextual syntax highlighting for function and variable names (Community contribution from @Gustaf-C - Addresses mathworks/MATLAB-extension-for-vscode#45)
- Resolves an issue with breakpoints in non‑existent files (Addresses mathworks/MATLAB-extension-for-vscode#312)
- Resolves an issue affecting the display of the
inputcommand prompt (Addresses mathworks/MATLAB-extension-for-vscode#198) - Applied patches for CVE-2026-2950, CVE-2026-4800, CVE-2026-33671, CVE-2026-33672, and CVE-2026-33750
- Resolves an issue where output is wrapping incorrectly in the MATLAB terminal. (Addresses mathworks/MATLAB-extension-for-vscode#316)
- Syntax highlighting improvements (Community contribution from @Gustaf-C)
- Resolves potential memory leaks when the extension is disabled.
- Applied patches for CVE-2026-32141
- Support for displaying wide CJK (Chinese, Japanese, and Korean) characters in the MATLAB terminal. (Addresses mathworks/MATLAB-extension-for-vscode#266 and mathworks/MATLAB-extension-for-vscode#276)
- Resolves an issue starting MATLAB when the
HOMEenvironment variable is set to an invalid folder (Addresses mathworks/MATLAB-extension-for-vscode#164) - Resolves an issue with extraneous debug sessions remaining after debugger is exited (Addresses mathworks/MATLAB-extension-for-vscode#258)
- Applied patches for CVE-2025-13465, CVE-2025-69873, CVE-2026-2327, CVE-2026-2391, CVE-2026-24001, CVE-2026-25547, CVE-2026-26996, CVE-2026-27601, CVE-2026-27903, and CVE-2026-27904
- Temporarily pause MATLAB execution by clicking the Pause button (Addresses mathworks/MATLAB-extension-for-vscode#263)
- Improvements to symbol renaming, symbol highlighting, find references, and go to definitions as a result of advanced MATLAB program file indexing (Addresses mathworks/MATLAB-extension-for-vscode#94)
- Default initial MATLAB debugger configuration
- Changes the default value of
MATLAB.defaultEditortotrue - Resolves an issue where the Run button displays an incorrect reason when a file cannot be run (Addresses mathworks/MATLAB-extension-for-vscode#282)
- Resolves issues with the
savepathfunction by ensuring that MATLAB language server files are not saved to the MATLAB search path (Addresses mathworks/MATLAB-extension-for-vscode#299) - Resolves potential crashes when breakpoints are set
- Applied patches for CVE-2025-15284, CVE-2025-64718, CVE-2025-64756, and CVE-2025-65945
- Resolves an issue with the previous version build. Does not include any changes to the extension's code or features.
- MATLAB automatically closes after 5 minutes if the connection fails during startup, preventing leaked instances (Addresses mathworks/MATLAB-extension-for-vscode#241)
- MATLAB now starts from the primary workspace folder, so that the
pwdcommand returns the correct path during startup (Addresses mathworks/MATLAB-extension-for-vscode#233) - Resolves a crash that occurs when suppressing a linting diagnostic on a line with an existing comment (Addresses mathworks/MATLAB-extension-for-vscode#280)
- Applied patches for CVE-2025-58751 and CVE-2025-58752
- Support for prewarming graphics to improve the performance of first-time graphics rendering
- Support for using Visual Studio Code as the default editor when using the MATLAB
editandopencommands - Support for highlighting all references to a selected function, variable, class, or class property
- Resolves issue where newly saved document contents are ignored during execution
- Resolves issue where section breaks are not displayed and the
Run Sectioncommand does not work until a file is modified for the first time. - Applied patch for CVE-2025-54798
- Support for running sections in MATLAB code
- Support for formatting a selection
- Display the language server output panel using the
matlab.showLanguageServerOutputcommand - Breadcrumbs and Outline view now include methods, properties, and enumerations for improved navigation
- Applied patches for CVE-2023-44270, CVE-2024-11831, CVE-2025-27789, CVE-2025-30359, CVE-2025-30360, CVE-2025-32996, CVE-2025-48387, and CVE-2025-5889
- Resolves issue where extension stops working after calling
restoredefaultpath
- Use automatic code completion to complete commands in the MATLAB terminal
- Move the cursor in the MATLAB terminal using
Alt+Click - Support for debugging P-coded files when the corresponding source file is available
- Filter the commands in the MATLAB terminal history by entering text in the terminal (Thanks @robertoffmoura!)
- Resolves issues with the MATLAB workspace not updating correctly when switching contexts in the call stack
- Resolves potential crashes when using code completion in files without a .m file extension
- Patches CVE-2024-12905
- Resolves errors with adding workspace folders to the MATLAB path on macOS and Linux systems
- Update keyboard shortcut to stop MATLAB execution from
Cmd+CtoCtrl+Con macOS systems
- The extension keeps the MATLAB path in sync with the VS Code workspace, improving code navigation, completions, and execution
- The extension keeps the MATLAB debug workspace in sync with the selected callstack in VS Code
- Changing the default value of
MATLAB.startDebuggerAutomaticallytofalse - Resolves errors with document formatting when using with MATLAB R2025a
- Resolves errors with execution and debugging when using with MATLAB R2022a
- This extension no longer supports MATLAB R2021a. To make use of the advanced features of the extension or run and debug MATLAB code, you must have MATLAB R2021b or later installed.
- Debugging support
- Support for inserting code snippets shipped with MATLAB (requires MATLAB R2025a or later)
- Support for opening additional MATLAB file types (e.g.
.slx,.fig) from the Visual Studio Code context menu (Community contribution from @Gusmano-2-OSU)
- Syntax highlighting improvements (Community contribution from @apozharski)
- Patches CVE-2024-21538, CVE-2024-52798, and CVE-2024-55565
- Visual indication of code sections
- Enable browser-based sign in using the
signInsetting - Specify the maximum file size for code analysis using the new
maxFileSizeForAnalysissetting - Linting support in untitled files and in MATLAB files with different file extensions
- The
installPathsetting no longer syncs between machines
- Patches CVE-2024-4067 and CVE-2024-43788
- Resolves issue preventing code navigation and variable renaming for variables followed by a matrix operation (e.g.
x.^2) - Improves syntax highlighting in MATLAB class definitions
- Symbol rename support
- Enable hiding "feature not available" error popups
- Provides context menu option to add selected folder and subfolders to the path
- Leading or trailing whitespace in
installPathsetting is ignored when connecting to MATLAB
- Enable specifying workspace-specific MATLAB install paths
- Improvements to code folding (requires MATLAB R2024b or later)
- Patches CVE-2024-37890
- Allow connection to MATLAB when a single quote appears in the extension installation path
- Resolve error with code navigation when using with MATLAB R2024b
- Various syntax highlighting improvements (Thanks @watermarkhu!)
- This extension will no longer support MATLAB R2021a in a future release. To make use of the advanced features of the extension or run MATLAB code, you will need to have MATLAB R2021b or later installed.
- Popups will be shown to inform when the connected MATLAB is not supported by the extension, or if support is planned to be removed in a future update.
- Resolved issue with connecting to Intel MATLAB installation on Apple Silicon machines
- Resolved error if MATLAB process is killed unexpectedly
- Fixed bug where "never" startup timing was ignored
- Tweaks to telemetry logging
- Resolved packaging failure on Mac
- Resolved connecting to MATLAB in proxy environment
- Extension now works with the New Desktop for MATLAB
- Fixed launching App Designer and Simulink through MATLAB code execution
- Code execution support
- Fixed linting diagnostic suppression with MATLAB R2024a
- Enabled language server features in untitled MATLAB files
- Fixed linting with mlint on Windows
- Fixed regression with code navigation when using with MATLAB R2024a
- Fixed code navigation when using with MATLAB R2024a
- Handle symbolic link to MATLAB when linting with mlint (Thanks @MoetaYuko!)
- Handle maca64 architecture when linting with mlint (Thanks @tiagovla!)
- Outline now includes section headers
- Fixed issue connecting to MATLAB with Visual Studio Code version 1.82 and later
- Patched CVE-2023-26136 and CVE-2022-25883
- Added missing file icon for MATLAB files
- Diagnostic suppression should be placed at correct location when '%' is contained within string
- Improved navigation to files inside MATLAB packages within the VS Code workspace but not on the MATLAB path
- Prevented navigation to private/local functions from other files
- MATLAB sign-in is no longer blocked on Windows
- Document symbol and outline support
- Prevent packaging of .github folder into extension
- Code folding no longer matches
endwhen used in strings, comments, and to denote the end of a matrix
- Update
vsceto to@vscode/vsceto resolve CVE-2023-0842
- Updated display name from "MATLAB (MathWorks)" to "MATLAB"
- Initial Release
- Syntax Highlighting (via MATLAB Language grammar)
- Snippets
- Other language support features (via MATLAB language server)