- myexecutable.exe is the name of the executable. You might need to include the full path to the executable if it's not on your path by default.
- -option1 and -option2 are the parameters you pass into the executable. These could also be filenames.
- status is the exit status of the executable (did it exit normally or not)
- result has any output
How to execute an application file by MATLAB command?
45 views (last 30 days)
Dear User I have a application file(.exe extention) which for converting .pl4 extention to .mat extention that downloaded from: http://www.dsea.unipi.it/Members/ceraolow/Software... That file written in borland C++.
I need to execute it by MATLAB command, I know I should use "system('command')" function, but I do not know what command is needed. please help me. Regards
Jason Ross on 21 Mar 2013
The link you included is invalid, but to run an executable with the system command, you do the following:
[status,result] = system('myexecutable.exe -option1 -option2')