| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
The Jobs property contains an array of all the job objects in a scheduler. Job objects will be in the order indicated by their ID property, consistent with the sequence in which they were created, regardless of their State. (To see the jobs categorized by state or the scheduled execution sequence for jobs in the queue, use the findJob function.)
Usage | Job manager or scheduler object |
Read-only | Always |
Data type | Array of job objects |
Examine the Jobs property for a job manager, and use the resulting array of objects to set property values.
jm = findResource('scheduler','type','jobmanager', ...
'name','MyJobManager','LookupURL','JobMgrHost');
j1 = createJob(jm);
j2 = createJob(jm);
j3 = createJob(jm);
j4 = createJob(jm);
.
.
.
all_jobs = get(jm, 'Jobs')
set(all_jobs, 'MaximumNumberOfWorkers', 10);
The last line of code sets the MaximumNumberOfWorkers property value to 10 for each of the job objects in the array all_jobs.
createJob, destroy, findJob, submit
Tasks
![]() | JobManager | JobTemplate | ![]() |

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 |