how to print and fetch input of matlab file from system's CMD? And how to run from command line?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
How to print matlab output on systems cmd and disable the matlab command window?
2 comentarios
Walter Roberson
el 23 de Abr. de 2019
Are we permitted to disable java and desktop mode for this purpose?
Respuestas (1)
Walter Roberson
el 23 de Abr. de 2019
Editada: Walter Roberson
el 23 de Abr. de 2019
matlab -nojvm -nodesktop -r 'try; YOURFUNCTIONNAMEHERE; catch ME; end; quit' < INPUTFILENAMEHERE > OUTPUTFILENAMEHERE
If you are using Mac or Linux with a derivative of the Bourne Shell but not the C Shell, then put
2>&1
at the end of that to redirect stderr.
0 comentarios
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!