Running a matlab script from bash script

I have made a MATLAB program which takes the input file from a directory and gives the output with a plot. can i execute this program on my bash terminal.

Antworten (1)

Walter Roberson
Walter Roberson am 9 Sep. 2017

0 Stimmen

matlab -nojvm -nodesktop -r 'try; YourScriptNameHere; catch; end; quit'

Kategorien

Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange

Tags

Gefragt:

am 9 Sep. 2017

Beantwortet:

am 9 Sep. 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by