| Contents | Index |
The NumberOfIdleWorkers property value indicates how many workers are currently available to the job manager for the performance of job tasks.
If the NumberOfIdleWorkers is equal to or greater than the MinimumNumberOfWorkers of the job at the top of the queue, that job can start running.
Usage | Job manager object |
Read-only | Always |
Data type | Double |
The value of NumberOfIdleWorkers can range from 0 up to the total number of workers registered with the job manager.
Examine the number of workers available to a job manager.
jm = findResource('scheduler','type','jobmanager', ...
'name','MyJobManager','LookupURL','JobMgrHost');
get(jm, 'NumberOfIdleWorkers')
BusyWorkers, ClusterSize, IdleWorkers, MaximumNumberOfWorkers, MinimumNumberOfWorkers, NumberOfBusyWorkers

See how to solve large problems with minimal effort and reduce simulation time.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |