| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
With MinimumNumberOfWorkers you specify the minimum number of workers to perform the evaluation of the job's tasks. When the job is queued, it will not run until at least this many workers are simultaneously available.
If MinimumNumberOfWorkers workers are available to the job manager, but some of the task dispatches fail due to network or node failures, such that the number of tasks actually dispatched is less than MinimumNumberOfWorkers, the job will be canceled.
Usage | Job object |
Read-only | After job is submitted |
Data type | Double |
The default value is 1. You can set the value anywhere from 1 up to or equal to the value of the MaximumNumberOfWorkers property.
Set the minimum number of workers to perform a job.
jm = findResource('scheduler','type','jobmanager', ...
'name','MyJobManager','LookupURL','JobMgrHost');
j = createJob(jm);
set(j, 'MinimumNumberOfWorkers', 6);
In this example, when the job is queued, it will not begin running tasks until at least six workers are available to perform task evaluations.
BusyWorkers, ClusterSize, IdleWorkers, MaximumNumberOfWorkers, NumberOfBusyWorkers, NumberOfIdleWorkers
![]() | MaximumNumberOfWorkers | MpiexecFileName | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |