- Add -desktop to the command line invocation of MATLAB
- Add & to the end of the command line to fork the MATLAB process
Running MATLAB from Mac Automator
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
the cyclist
am 25 Mär. 2014
Beantwortet: florian
am 3 Apr. 2014
When I run MATLAB from a Terminal window with this command
/Applications/MATLAB_R2014a.app/bin/matlab
it opens MATLAB normally.
I have been experimenting with Automator to open MATLAB as part of a workflow. Inside Automator, I choose "Run Shell Script" and put the above command inside the script.
I then run the application. It definitely opens MATLAB -- the splash screen appears -- but then it shuts down immediately, presumably because the script is completing and exiting. Anyone know how to get MATLAB to stay open in this situation?
0 Kommentare
Akzeptierte Antwort
Ken Atwell
am 25 Mär. 2014
Two possibilities to try:
2 Kommentare
Weitere Antworten (1)
florian
am 3 Apr. 2014
I created the following based on your work - thank you guys! http://www.mathworks.com/matlabcentral/answers/102946#answer_131990
0 Kommentare
Siehe auch
Kategorien
Mehr zu Desktop finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!