Parsim with different models

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.

 Accepted Answer

Rahul Kumar
Rahul Kumar on 27 Nov 2018
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.
Thanks,
Rahul

4 Comments

Thanks very much for your answer.
Thanks for the answer.
Additionally: What does happen, if one assigns many different Simulink.SimulationInput objects for different models to parsim. Does it only load one model and then change the parameters, or does it actually run the different models but just in a row and not parallel?
Thanks in advance!
You will get an error with the message that all models must have the same name. Could you please let us know your use case for running parallel simulations for multiple models? That will help us prioritize this enhancement better.
@Rahul Kumar I want also to know if it will be possible in the future.
My use case is in one model there is data being collected from arduino Sensors, and in the other model a Motionplatform is being controlled. both models runs on different simulation mode.
I can also start the two models manual, but it will be better to start them automatically.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!