MATLAB PARALLEL COMPUTING TOOLBOX - S Guide de l'utilisateur Page 24

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 656
  • Table des matières
  • DEPANNAGE
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 23
1 Getting Started
1-10
parfor
batch
MATLAB
®
workers
MATLAB
®
client
5
To view the results:
wait(job)
load(job,'A')
plot(A)
The results look the same as before, however, there are two important differences in
execution:
The work of defining the parfor-loop and accumulating its results are offloaded
to another MATLAB session by batch.
The loop iterations are distributed from one MATLAB worker to another set of
workers running simultaneously ('Pool' and parfor), so the loop might run
faster than having only one worker execute it.
6
When the job is complete, permanently delete its data and remove its reference from
the workspace:
delete(job)
clear job
Vue de la page 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 655 656

Commentaires sur ces manuels

Pas de commentaire