Centre d’aide MATLAB
Queue job in scheduler
submit(j)
submit(j) queues the job object j in its cluster queue. The cluster used for this job was determined when the job was created.
j
example
collapse all
Create a cluster object from a cluster profile.
c1 = parcluster('Profile1');
Create a job object in this cluster.
j1 = createJob(c1);
Add a task object to be evaluated for the job.
t1 = createTask(j1,@rand,1,{8,4});
Queue the job object in the cluster for execution.
submit(j1);
Job to queue, specified as a job object. To create a job object, use the createJob function.
createJob
When a job is submitted to a cluster queue, the job's State property is set to queued, and the job is added to the list of jobs waiting to be executed.
State
queued
The jobs in the waiting list are executed in a first in, first out manner; that is, the order in which they were submitted, except when the sequence is altered by promote, demote, cancel, or delete.
promote
demote
cancel
delete
Introduced before R2006a
createCommunicatingJob | createJob | findJob | parcluster | promote | recreate
createCommunicatingJob
findJob
parcluster
recreate
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.
Amériques
Europe
Asie-Pacifique
Contactez votre bureau local