give some command from MATLAB to DOS command window

1 view (last 30 days)
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

Image Analyst
Image Analyst on 7 Nov 2016
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)

Community Treasure Hunt

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

Start Hunting!