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.

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 9 月 9 日

0 投票

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

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

タグ

質問済み:

2017 年 9 月 9 日

回答済み:

2017 年 9 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by