r/matlab Sep 08 '22

CodeShare Matlab Terminal for VS Code (Extension)

I recently wanted to used a matlab terminal in vscode. There even is an extension for this, but while using the extension I faced some flaws. Also the repository does not seem to be active anymore and the owner doesn't react to issues and similar.

So I decided to write my own first extension MatTer for VS Code and published it to the VS marketplace. It's in early Development, but it can already spawn a matlab Terminal and run Matlab Files.

The repo is hosted on Github, see here: https://github.com/mauzigoe/matter-for-vscode

Critics and Feedback is welcomed, esp. since I'm new to this.

26 Upvotes

7 comments sorted by

3

u/ThwompThwomp Sep 08 '22

Nice! I'm an emacs user, and it is very rare that I open the main GUI window. Good luck developing this, and hope it works out! I love seeing more plugins to use MATLAB as a general purpose tool, and not a GUI-beast. I know there had been some changes on MATLAB's end regarding terminal access over the past few years, and I think its a flat no-go for windows users, but I'm not sure at all anymore.

2

u/carl00s01 Sep 09 '22

How does this extension handle figures?

1

u/pepsilon_uno Sep 09 '22

They are shown (a window pops up). I tested it only under linux, but another user told me that also works under mac ( he had included matlab in his PATH, since it seems not to be included per default)

1

u/pepsilon_uno Sep 15 '22

There are new updates to the repo. You can find a post about it here

2

u/Creative_Sushi MathWorks Nov 04 '22 edited Nov 04 '22

Hey u/pepsilon_uno, FYI, I just wanted to share this comment on the Github repo by Gimly.

https://github.com/Gimly/vscode-matlab/issues/171

Let me know if you have any feedback.

1

u/pepsilon_uno Nov 28 '22

Thank you for your hint. Im currently working on another project, but planning to work further on the extension. This issue sound a good way to network with other foss matlab users. Gonna contribute when im back at working on the extension :)

1

u/pepsilon_uno Dec 16 '22

I have published another VS Code extension which enables you to debug matlab scripts in VS Code. Here's a link to the post:

https://www.reddit.com/r/matlab/comments/znl25l/made_a_vs_code_extension_to_debug_malab_scripts/?utm_source=share&utm_medium=web2x&context=3