MATLAB PARALLEL COMPUTING TOOLBOX - S User's Guide Page 404

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 403
1 2 ... 399 400 401 402 403 404 405 406 407 408 409 ... 655 656

Comments to this Manuals

No comments