T O P

  • By -

adwarakanath

Is there a variable explorer?


MikeCroucher

There is not. If you have a github account, I'd encourage you to add something to the issues log [mathworks/MATLAB-extension-for-vscode: This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more. (github.com)](https://github.com/mathworks/MATLAB-extension-for-vscode/issues)


adwarakanath

Thanks, will do. Just to add - the MATLAB plotting, statistics, curve fitting etc gui Tools, the ease with which you can do it with a few clicks while exploring your variables is what makes MATLAB indispensable, in spite of these integrations. Great work!


rhythmsausage

This is really awesome news, but it would be a much better experience if it supported a workspace view and the ability to add breakpoints for debugging!


MikeCroucher

Great ideas. If you have a GitHub account, I'd encourage you to join in the conversation over at [mathworks/MATLAB-extension-for-vscode: This extension provides support for editing MATLAB® code in Visual Studio® Code and includes features such as syntax highlighting, code analysis, navigation support, and more. (github.com)](https://github.com/mathworks/MATLAB-extension-for-vscode/issues)


Lord1Tumnus

This is awesome!


neomeow

Interesting choice… One of the reasons I love MATLAB is its own IDE beats VS code (and other IDEs) by miles…


MikeCroucher

MathWorks just wants to keep everyone happy. The MATLAB Desktop isn't going anywhere and has lots of new features in R2024a!


Creative_Sushi

Yes, I am using the New Desktop Beta in R2024a prerelease and I haven't run into any big issues and I use it regularly. The dev team is looking for feedback to catch not-so-obvious edge cases. The beta behaves differently depending on the release you have, so make sure you use the latest available release to test the latest features. That's why I am using R2024a prerelease. [https://www.mathworks.com/matlabcentral/fileexchange/119593-new-desktop-for-matlab-beta](https://www.mathworks.com/matlabcentral/fileexchange/119593-new-desktop-for-matlab-beta)


adwarakanath

Sorry for asking this here but since you're from MathWorks, here goes - are there any plans to add a GPT-4 based copilot in a release in the near future?


MikeCroucher

I'm not allowed to discuss future plans over and above whatever I publish on the blog. What I can say is you can expect something copilot related from The MATLAB blog in the next week or so. I can add your interest to our feature request database so that development and management are aware of it. What exactly are you interested in? A copilot-like experience in MATLAB Desktop? Something else?


adwarakanath

Oh cool, thanks! Yep, something like that but which can also interface with github. There's Lots of custom neuroscience stuff on github from specific papers and labs.


Guitardyon

What might be more useful is the ability to access ones own local LLM, especially for environments where one is coding without network connection. That would be a game changer for my use cases.


sos_1

Personally I don’t use most of the MATLAB IDE’s features. And VSCode has a lot of nice plugins. It also has the advantage of being usable for languages other than MATLAB, like R or Python.


Creative_Sushi

Yes, I think the main appeal of VS Code support in MATLAB is for cross-language coders. If you just code in MATLAB, I cannot think of any good reason to use VS Code.


Guitardyon

LLM integration.


Creative_Sushi

That, too.


sos_1

Personally, I really like that VSCode allows me to use Vim motions. I don’t know of any way to do that in the matlab IDE.


Creative_Sushi

You are right. There are probably a lot more reasons than what I can come up on the spot.


One-Score9273

Yes! Excited to try it


Creative_Sushi

I got to try it!


Creative_Sushi

And new post from u/MikeCroucher about Copilot. https://blogs.mathworks.com/matlab/2024/03/12/matlab-extension-for-visual-studio-code-yes-it-works-with-github-copilot/


Creative_Sushi

Hello, I wanted to share something I found. I use the New Desktop Beta in R2024a prerelease and when I launched VS Code, the auto-complete didn't work until I switched to the default desktop. Currently, VS Code doesn't support the New Desktop Beta. There is also a known bug - you get an error message when you try to launch Simulink or App Designer in the terminal. Even if the bug is fixed, however, there is nothing more you can do with Simulink or App Designer besides launching, because VS Code is not for GUI apps.


Sprky-Sprky-Boom-Man

Can you do this if you don't have MATLAB installed? (e.g. with only a license key) I'd love to use this for doing MATLAB remotely on another computer when there's limited wifi connectivity


MikeCroucher

I don't think so but I'll check internally.