Run MATLAB code from Visual Studio Code
Mike Croucher
on 5 Mar 2024
Latest activity Reply by Mike Croucher
on 10 Mar 2024
Updated release available today! MATLAB extension for Visual Studio Code: Now with code execution » The MATLAB Blog - MATLAB & Simulink (mathworks.com)
![](https://www.mathworks.com/matlabcentral/discussions/uploaded_files/27806/image.gif)
4 Comments
The VSCode extension was awesome before the latest release. Now it is almost unbeatable. I cannot wait to see the additional features coming in the future. I am so much more effective with VSCode and VIM motions plus the additional helper extension in editing my MATLAB code.
Huge thank you to the team!
If I install MATLAB on the remote linux server, but connect to the server's MATLAB in local vscode on Windows, and then do a plotting operation, I can't get the image to show up, so I'm waiting for another feature enhancement.
I tried to use the "desktop" command in the MATLAB terminal in VSC, but the following error is reported directly:
>> desktop
Error using desktop
The Desktop is not available in this configuration
Error in desktop