how to running MATLAB commands from DOS
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
hello, How to execute "MATLAB commands" from DOS without typing/ touch on MATLAB command prompt. I want run .m file and the commands in this file will perform.
Is it possible to do so? thanks!
0 Commenti
Risposte (1)
Walter Roberson
il 1 Set 2015
"C:\path\to\matlab.exe" -nodesktop -r "try; NAMEOFMFILE; catch ME; end; quit"
for example,
"C:\Programs (x86)\MATLAB2014b\bin\matlab.exe" -desktop -r "try; spaceinvaders; catch ME; end; quit"
Notice the ".m" extension is not to be given.
0 Commenti
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!