|
|
Re: input name of sub-program name in dos command
Posted:
Apr 7, 2012 3:20 PM
|
|
Did you look at the help for dos() where it said:
To open the Microsoft Notepad editor and return control immediately to MATLAB, run dos('notepad file.m &')
So you'd do this:
commandLine = sprintf('c:/Program Files/blah/blah.exe %s', myInputName); dos(commandLine);
|
|