Running a matlab script from bash script

3 views (last 30 days)
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.

Answers (1)

Walter Roberson
Walter Roberson on 9 Sep 2017
matlab -nojvm -nodesktop -r 'try; YourScriptNameHere; catch; end; quit'

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!