Changing number of workers while running simulations?

조회 수: 7 (최근 30일)
Bruce Vernham
Bruce Vernham 2018년 10월 22일
댓글: Bruce Vernham 2018년 11월 8일
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