VSCode write matlab code and run the command line

Environment: ubuntu 16.04

Environment configuration:

Reference: VS Code Configuration environment Matlab

operating:

1, first enter the directory where the .m file, open a command line

2, m into the file directory, run

matlab -nodesktop -nosplash -r matlabfile

Only the file name matlabfile, you can not add .m

You can not open a graphical interface to run matlab

3, to run after entering the name matlabfile matlab input through the command line, you need to save between running

4, when exiting matlab, enter:

exit

Here Insert Picture Description

Released five original articles · won praise 5 · Views 358

Guess you like

Origin blog.csdn.net/gaiyi7788/article/details/103964784
Recommended