MATLAB PARALLEL COMPUTING TOOLBOX - S Guía de usuario Pagina 24

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 656
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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
Vista de pagina 23
1 2 ... 19 20 21 22 23 24 25 26 27 28 29 ... 655 656

Comentarios a estos manuales

Sin comentarios