Changing number of workers while running simulations?

3 次查看(过去 30 天)
I am using parsim to run my simulink model with multiple parameters variations on multiple workers.
Is it possible for me to change number of workers while the simulations are in progress?

采纳的回答

Rahul Kumar
Rahul Kumar 2018-10-31
Hi Bruce,
Unfortunately, it is currently not possible to change the number of workers while the simulations are in progress. parsim uses a parallel pool to run simulations. Once the parallel pool is created the number of workers cannot be changed.
Could you please provide more details of why you need to change the number of workers during simulations so that we can add this capability in the future?
Thanks, Rahul
  1 个评论
Bruce Vernham
Bruce Vernham 2018-11-8
Hello Rahul,
Thank you for replying. This need arises when we are running co-simulations with other software(as slave), which has fixed number of solver licenses. Availability of other software licenses changes with time. If number of worker could be changed with while the simulations are running, we could have more workers when demand for other software licenses is less, and vice versa.

请先登录,再进行评论。

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Run Multiple Simulations 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by