MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 404

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 403
11 Functions — Alphabetical List
11-60
Run the job.
submit(j);
Wait for the job to finish running, and get the output from the task evaluation.
wait(j);
taskoutput = fetchOutputs(j);
Show the 10-by-10 random matrix.
disp(taskoutput{1});
Create a Job with Three Tasks
This example creates a job with three tasks, each of which generates a 10-by-10 random
matrix.
c = parcluster(); % Use default profile
j = createJob(c);
t = createTask(j, @rand, 1, {{10,10} {10,10} {10,10}});
Create a Task with Different Property Values
This example creates a task that captures the worker diary, regardless of the setting in
the profile.
c = parcluster(); % Use default profile
j = createJob(c);
t = createTask(j,@rand,1,{10,10},'CaptureDiary',true);
See Also
createCommunicatingJob | createJob | findTask | recreate
Seitenansicht 403
1 2 ... 399 400 401 402 403 404 405 406 407 408 409 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare