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

  • 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 453
11 Functions — Alphabetical List
11-110
getCurrentCluster
Cluster object that submitted current task
Syntax
c = getCurrentCluster
Arguments
c The cluster object that scheduled the task currently being evaluated by
the worker session.
Description
c = getCurrentCluster returns the parallel.Cluster object that has sent the
task currently being evaluated by the worker session. Cluster object c is the Parent of
the task’s parent job.
Examples
Find the current cluster.
myCluster = getCurrentCluster;
Get the host on which the cluster is running.
host = myCluster.Host;
More About
Tips
If this function is executed in a MATLAB session that is not a worker, you get an empty
result.
Zobrazit stránku 453
1 2 ... 449 450 451 452 453 454 455 456 457 458 459 ... 655 656

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

Žádné komentáře