MATLAB PARALLEL COMPUTING TOOLBOX - S Podręcznik Użytkownika Strona 645

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 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)
Przeglądanie stron 644
1 2 ... 640 641 642 643 644 645 646 647 648 649 650 ... 655 656

Komentarze do niniejszej Instrukcji

Brak uwag