Call multiple instances of another program from MATLAB?
Show older comments
I'm writing a program that generates files to be simulated in a third party program. I would like to be able to call multiple instances of this third party program from within my MATLAB GUI.
I am able to call a single instance of the program using the "system" command, but MATLAB becomes busy until the simulation in the other program is complete. Sometimes the simulation can take several hours. I would like the ability to split up my input files into several smaller files and call multiple instances of this third party program from a single MATLAB program. Is it possible to call the "system" command without MATLAB becoming busy?
Is the Parallel Computing Toolbox required to do this?
Thank you, Miles
2 Comments
James Tursa
on 14 Sep 2016
Edited: James Tursa
on 14 Sep 2016
Will you be waiting for these multiple 3rd party programs to finish before your MATLAB code continues? Or do you just want to spawn these programs off to run and finish on their own without MATLAB needing to check on their progress? How many instances will you simultaneously run?
Miles Stephenson
on 15 Sep 2016
Accepted Answer
More Answers (0)
Categories
Find more on MATLAB Coder 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!