Passing 2 arguments to a command line function
古いコメントを表示
In my university we have Matlab 7.0 (R14), I would like to run schedule task running some matlab functions.
From cmd line I type:
matlab -r myfunction(1,1)
The results are
>> myfunction(1
??? myfunction(1
|
Error: Incomplete or misformed expression or statement
回答 (2 件)
Walter Roberson
2011 年 4 月 25 日
matlab -r "myfunction(1,1);quit"
2 件のコメント
Ras
2011 年 4 月 26 日
Walter Roberson
2011 年 4 月 26 日
Which OS are you using?
Anyhow, try
matlab -r 'myfunction(1,1);quit'
カテゴリ
ヘルプ センター および File Exchange で Entering Commands についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!