How to run system with space within the cmd
이전 댓글 표시
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
답변 (2개)
Walter Roberson
2011년 3월 24일
system('"C:\program files\a.exe"')
hailiang shen
2011년 3월 25일
1 개 추천
댓글 수: 1
Walter Roberson
2011년 3월 25일
system(['"C:\program files\a.exe" argument1 argument2 <', inputfilename])
카테고리
도움말 센터 및 File Exchange에서 Matrix Indexing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!