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

  • 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 345
11 Functions — Alphabetical List
11-2
addAttachedFiles
Attach files or folders to parallel pool
Syntax
addAttachedFiles(poolobj,files)
Description
addAttachedFiles(poolobj,files) adds extra attached files to the specified parallel
pool. These files are transferred to each worker and are treated exactly the same as if
they had been set at the time the pool was opened — specified by the parallel profile or
the 'AttachedFiles' argument of the parpool function.
Examples
Add Attached Files to Current Parallel Pool
Add two attached files to the current parallel pool.
poolobj = gcp;
addAttachedFiles(poolobj,{'myFun1.m','myFun2.m'})
Input Arguments
poolobj — Pool to which files attach
pool object
Pool to which files attach, specified as a pool object.
Example: poolobj = gcp;
files — Files or folders to attach
string | cell array
Vista de pagina 345
1 2 ... 341 342 343 344 345 346 347 348 349 350 351 ... 655 656

Comentarios a estos manuales

Sin comentarios