Can you simulate multiple instances of matlab without actually opening matab multiple times?

조회 수: 1 (최근 30일)
Is this Possible? I know you can open multiple instances of matlab and run separate independent scripts on each, but is there an easy way to do this from a single instance of matlab?
Ideally I'd like to do something like this:
(Have a list of scripts or functions you would like to run)
while cpu utilization is under X% && ram usage under Y%
Initiate (independently) running the next script/function on the list
Is something like this possible? It would be great to set up a bunch of things to run and then be able to just let it be for several hours on end.
Thanks!

답변 (1개)

Walter Roberson
Walter Roberson 2016년 5월 27일
No, there is no easy way of doing that.
If you have the Parallel Computing Toolkit, you could consider batch() or parfeval()

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by