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

  • Download
  • Add to my manuals
  • Print
  • Page
    / 656
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 644
wait
11-301
Note Simulink models cannot run while a MATLAB session is blocked by wait. If you
must run Simulink from the MATLAB client while also running jobs, you cannot use
wait.
Examples
Submit a job to the queue, and wait for it to finish running before retrieving its results.
submit(j);
wait(j,'finished')
results = fetchOutputs(j)
Submit a batch job and wait for it to finish before retrieving its variables.
j = batch('myScript');
wait(j)
load(j)
See Also
pause | resume | wait (GPUDevice) | wait (FevalFuture)
Page view 644
1 2 ... 640 641 642 643 644 645 646 647 648 649 650 ... 655 656

Comments to this Manuals

No comments