MATLAB PARALLEL COMPUTING TOOLBOX - S Guida Utente Pagina 514

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
Vedere la pagina 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)
Vedere la pagina 513
1 2 ... 509 510 511 512 513 514 515 516 517 518 519 ... 655 656

Commenti su questo manuale

Nessun commento