MATLAB: Running an executable in “MS-Windows command window” from MATLAB

ms-windows command windowrunning executable

Is there a way to run an external executable code (e.g. an old Fortran code) in a "MS-Windows command window" from Matlab.
I've tried using
> system('old_executable')
This works but the output of the executable goes the Matlab Command Window, rather than the MS-Windows command window. Moreover, the Matlab Command Window becomes occupied and can't be used for other work…

Best Answer

system('old_executable &')