MATLAB BUILDER JA 2 Uživatelská příručka Strana 151

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 292
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 150
Using Class Methods
numberOfDimensions. MWNumericArray inherits this method from the
MWArray class.
numberOfElem ents.
MWNumericArray inherits this method from the
MWArray class.
Methods to Get and Set the Real Parts of an MWNumericArray
Use these m ethods to get and set real values in an object of class
MWNumericArray.
Method Description
“get” on page
4-76
Returns the element at the specified offset as an Object.
“getData” on
page 4-76
Returns a one-dimensional array containing a copy of the
data in the u nderlying MATLAB array.
“getDouble”
on page 4-76
Returns the real part at the specified offset as a double
value.
“getFloat” on
page 4-77
Returns the real part at the specified offset as a float
value.
“getLong” on
page 4-77
Returns the real part at the specified offset as a long value.
“getInt” on
page 4-77
Returns the real part at the specified offset as an int va lue.
“getShort” on
page 4-77
Returns the real part at the specified offset as a short
value.
“getByte” on
page 4-78
Returns the real part at the specified offset as a byte value.
“set” on p age
4-79
Replacestherealpartatthespecifiedoffsetwiththe
specified v alue.
“toArray” on
page 4-79
Returns an array containing a copy of the data in the
underlying MATLAB array. The returned array has the
same dimensionality as the MATLAB array.
4-75
Zobrazit stránku 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 291 292

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

Žádné komentáře