shinyypig / matlab-in-vscode

A vscode extension for matlab.
MIT License
45 stars 4 forks source link

Error running on MacOS #13

Closed aminsalehiapple closed 12 months ago

aminsalehiapple commented 1 year ago

The extension does not work on MacOS with the following bash error: bash: syntax error near unexpected token `['Working directory: ','

shinyypig commented 1 year ago

It seems that the matlab terminal did not start properly. Could you please try running the following command and tell me the result?

matlab -nodesktop -nosplash    

Typically, the terminal should look like this:

image
Fontanapink commented 1 year ago

When I run that command I get a MATLAB Command Window pop up.

shinyypig commented 1 year ago

When I run that command I get a MATLAB Command Window pop up.

If you cannot open matlab directly in a terminal, you may try the pybackend.