MATLAB: Give some command from MATLAB to DOS command window

command window

Hello everyone,
Please tell me, how can i give following command to DOS command window using MATLAB?
promgen -p bin -r abc.mcs -o abc.bin
By using '!' command window will open, but i want to add above mentioned part after opening command window automatically.

Best Answer

Try
system('promgen -p bin -r abc.mcs -o abc.bin');
or
dos('promgen -p bin -r abc.mcs -o abc.bin');
Related Question