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

  • 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 619
11 Functions — Alphabetical List
11-276
saveProfile
Save modified cluster properties to its current profile
Description
saveProfile(cluster) saves the modified properties on the cluster object to the
profile specified by the cluster’s Profile property, and sets the Modified property to
false. If the cluster’s Profile property is empty, an error is thrown.
Examples
Create a cluster, then modify a property and save the change to the profile.
myCluster = parcluster('local')
myCluster =
Local Cluster
Properties:
Profile: local
Modified: false
Host: HOSTNAME
NumWorkers: 4
myCluster.NumWorkers = 3
myCluster =
Local Cluster
Properties:
Profile: local
Modified: true
Host: HOSTNAME
NumWorkers: 3
The myCluster.Modified property is now true.
saveProfile(myCluster);
myCluster
myCluster =
Local Cluster
Zobrazit stránku 619
1 2 ... 615 616 617 618 619 620 621 622 623 624 625 ... 655 656

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

Žádné komentáře