give some command from MATLAB to DOS 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.

 Accepted Answer

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

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!