How to execute a simple cmd.exe code in MATLAB?

13 views (last 30 days)
I have a simple command prompt (cmd) code that opens and runs a certain software. I need to include this cmd code in a for loop in MATLAB. So how to execute a cmd code through MATLAB?
Thank you.

Accepted Answer

Dhananjay Kumar
Dhananjay Kumar on 2 Dec 2019

More Answers (0)


Find more on Startup and Shutdown in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by