How does parsim assign different models to different workers/cores?
It seems that parsim can assign the same models with different parameter to different workers/cores.
Best Answer
Hi Wenfeng,
parsim only supports running parallel simulations of a single model (with different parameter values). I will create an enhancement request to support running simulations of different models in parallel.
The best you can do is have 2 models running at the same time and use a switch to toggle the two. Unfortunately Simulink will have to process both models.
parfor-loop+sim = parsim to run simulink simulations in parallel.You cannot use a parfor-loop inside another parfor-loop. For more information you may check this link1 and link2.
Best Answer