MATLAB: Changing number of workers while running simulations

MATLABparallel computingParallel Computing Toolboxparsim

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?

Best Answer

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