MATLAB PARALLEL COMPUTING TOOLBOX - S Betriebsanweisung Seite 489

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 656
  • Inhaltsverzeichnis
  • FEHLERBEHEBUNG
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 488
isequal
11-145
isequal
True if clusters have same property values
Syntax
isequal(C1,C2)
isequal(C1,C2,C3,...)
Description
isequal(C1,C2) returns logical 1 (true) if clusters C1 and C2 have the same property
values, or logical 0 (false) otherwise.
isequal(C1,C2,C3,...) returns true if all clusters are equal. isequal can operate
on arrays of clusters. In this case, the arrays are compared element by element.
When comparing clusters, isequal does not compare the contents of the clusters’ Jobs
property.
Examples
Compare clusters after some properties are modified.
c1 = parcluster('local');
c1.NumWorkers = 2; % Modify cluster
c1.saveAsProfile('local2') % Create new profile
c2 = parcluster('local2'); % Make cluster from new profile
isequal(c1,c2)
1
c0 = parcluster('local') % Use original profile
isequal(c0,c1)
0
See Also
parcluster
Seitenansicht 488
1 2 ... 484 485 486 487 488 489 490 491 492 493 494 ... 655 656

Kommentare zu diesen Handbüchern

Keine Kommentare