Releases: mathworks/MATLAB-extension-for-vscode
Releases · mathworks/MATLAB-extension-for-vscode
v1.3.6
Fixed
- 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
v1.3.5
Added
- 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
Fixed
- 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
v1.3.4
Added
- 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
Fixed
- 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
v1.3.3
Added
- 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!)
Fixed
- 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
v1.3.2
v1.3.1
Added
- 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
Fixed
- 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
v1.3.0
Notice
- 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.
Added
- 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)
Fixed
- Syntax highlighting improvements (Community contribution from @apozharski)
- Patches CVE-2024-21538, CVE-2024-52798, and CVE-2024-55565
v1.2.7
Added
- 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
Fixed
- The
installPathsetting no longer syncs between machines