MATLAB BUILDER JA 2 User's Guide Page 151

  • Download
  • Add to my manuals
  • Print
  • Page
    / 292
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 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
Page view 150
1 2 ... 146 147 148 149 150 151 152 153 154 155 156 ... 291 292

Comments to this Manuals

No comments