MATLAB BUILDER JA 2 Betriebsanweisung Seite 225

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 292
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 224
Using Class Methods
public Object sharedCopy()
Input Parameters
None
Example Making a Shared Copy of a Cell Array Object
Create an MWCellArray object and then a shared copy of that object:
int[] cdims = {1, 3};
MWCellArray C = new MWCellArray(cdims);
Object X = C.sharedCopy();
System.out.println("Shared copy of cell array C is:");
System.out.println(X.toString());
When run, the example displays this output:
Shared copy of cell array C is:
[] [] []
toString. MWCellArray inherits this method from the MWArray class.
Using MWClassID
The MWClassID class enumerates all MATLAB array types. This class
contains no public constructors. A set of public static
MWClassID instances is
provided, o ne for each MATLAB array type.
MWClassID extends class java.lang.Object.
MWClassID implements inte rface java.io.Serializable.
Fields of MWClassID
CELL. CELL represents MATLAB array type cell.
4-149
Seitenansicht 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 291 292

Kommentare zu diesen Handbüchern

Keine Kommentare