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

  • 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 507
11 Functions — Alphabetical List
11-164
load
Load workspace variables from batch job
Syntax
load(job)
load(job, 'X')
load(job, 'X', 'Y', 'Z*')
load(job, '-regexp', 'PAT1', 'PAT2')
S = load(job ...)
Arguments
job Job from which to load workspace variables.
'X' , 'Y', 'Z*' Variables to load from the job. Wildcards allow pattern matching
in MAT-file style.
'-regexp' Indication to use regular expression pattern matching.
S Struct containing the variables after loading.
Description
load(job) retrieves all variables from a batch job and assigns them into the current
workspace. load throws an error if the batch runs a function (instead of a script), the job
is not finished, or the job encountered an error while running, .
load(job, 'X') loads only the variable named X from the job.
load(job, 'X', 'Y', 'Z*') loads only the specified variables. The wildcard '*'
loads variables that match a pattern (MAT-file only).
load(job, '-regexp', 'PAT1', 'PAT2') can be used to load all variables matching
the specified patterns using regular expressions. For more information on using regular
expressions, type doc regexp at the command prompt.
Vista de pagina 507
1 2 ... 503 504 505 506 507 508 509 510 511 512 513 ... 655 656

Comentarios a estos manuales

Sin comentarios