How to run Batch file in MATLAB

4 views (last 30 days)
Khaing Nyunt Myaing
Khaing Nyunt Myaing on 10 Sep 2019
Answered: Walter Roberson on 10 Sep 2019
How to run Batch file in MATLAB

Answers (1)

Walter Roberson
Walter Roberson on 10 Sep 2019
MATLAB does not exactly have batch files.
See https://www.mathworks.com/help/parallel-computing/batch-processing.html for the Parallel Computing batch() facility
See https://www.mathworks.com/help/matlab/ref/matlabwindows.html for the "-r" or "-batch" command line options
See https://www.mathworks.com/help/matlab/ref/system.html for how to use system() to run a .bat at the Windows command line.

Categories

Find more on Entering Commands in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!