MATLAB PARALLEL COMPUTING TOOLBOX - S Guia do Utilizador Página 514

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 513
11 Functions — Alphabetical List
11-170
methods
List functions of object class
Syntax
methods(obj)
out = methods(obj)
Arguments
obj An object or an array of objects.
out Cell array of strings.
Description
methods(obj) returns the names of all methods for the class of which obj is an
instance.
out = methods(obj) returns the names of the methods as a cell array of strings.
Examples
Create cluster, job, and task objects, and examine what methods are available for each.
c = parcluster();
methods(c)
j1 = createJob(c);
methods(j1)
t1 = createTask(j1, @rand, 1, {3});
methods(t1)
Vista de página 513
1 2 ... 509 510 511 512 513 514 515 516 517 518 519 ... 655 656

Comentários a estes Manuais

Sem comentários