MATLAB PARALLEL COMPUTING TOOLBOX - S Uživatelská příručka Strana 514

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 656
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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)
Zobrazit stránku 513
1 2 ... 509 510 511 512 513 514 515 516 517 518 519 ... 655 656

Komentáře k této Příručce

Žádné komentáře