How to run system with space within the cmd
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Antworten (2)
hailiang shen
am 25 Mär. 2011
1 Kommentar
Walter Roberson
am 25 Mär. 2011
system(['"C:\program files\a.exe" argument1 argument2 <', inputfilename])
Siehe auch
Kategorien
Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!