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.

 Respuesta aceptada

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

Más respuestas (0)

Categorías

Más información sobre Performance and Memory en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 7 de Nov. de 2016

Respondida:

el 7 de Nov. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by