Run multiple exe at same time
6 views (last 30 days)
Show older comments
Dear all,
I would like to know if MATLAB is able to run the multiple exe simultaneously. If yes, how to run it?
0 Comments
Accepted Answer
Voss
on 21 Feb 2022
Yes, you can use "&" to return control to MATLAB immediately after the exe starts. Then you can immediately run an exe again. For instance:
!excel.exe &
!excel.exe &
That would start two instances of Excel.
5 Comments
More Answers (1)
Walter Roberson
on 21 Feb 2022
As .exe are specific to Windows, you could consider using .NET System.Diagonstics.Process to create the processes and control them.
See Also
Categories
Find more on MATLAB Functions in Microsoft Excel in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!