How to run system with space within the cmd
12 ビュー (過去 30 日間)
古いコメントを表示
Dear All, I am trying to execute the following command in matlab windows OS. e.g. system('C:\program files\a.exe')
It seems the system command can only recognize 'c:\program'. My question is how can i make matlab know i want to execute the a.exe file. This exe file is a very large one, and i do not want to reinstall it.
Thanks for all your help, Hailiang
0 件のコメント
回答 (2 件)
hailiang shen
2011 年 3 月 25 日
1 件のコメント
Walter Roberson
2011 年 3 月 25 日
system(['"C:\program files\a.exe" argument1 argument2 <', inputfilename])
参考
カテゴリ
Help Center および File Exchange で Matrix Indexing についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!