MATLAB Parallel Server: Is there a way to speed up "Cleaning up parallel workers..."?

6 views (last 30 days)
Hi,
I have a bunch of simulink model inputs which I simulate with "parsim", It is often the same model with different workspace variables (which are stored in the related simulink input object). The simulations itself are done in less than two seconds, but "Cleaning up parallel workers..." take also a couple of seconds. Since I often repeat the simulation process, "Cleaning up parallel workers..." are very time consuming and slows down the whole program. Is there a way to speed this up?
any helpful advices are really appreciated

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 11 Feb 2021
Hi Sascha,
Try off-loading your simulations bas batch jobs, so that you can actively work on MATLAB Client while the simulation is running in the background.
Refer this documentation to learn more.
  1 Comment
SG
SG on 12 Feb 2021
Hi Kiran,
thanks for your advice. The problem is, my program relies on the simulation output. So I have to wait for the results every time. Is there no way to speed up the cleaning process or getting the results and clean in the background?

Sign in to comment.

Categories

Find more on MATLAB Parallel Server in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!