| MATLAB Compiler | ![]() |
mwArray(<type> re)
Construct real scalar array of type of the input argument and initialize data with input argument's value.
C++ syntax
Arguments
re. Scalar value to initialize array with
Return value
Description
Use this constructor to create a real scalar array. <type> can be any of the following: mxDouble, mxSingle, mxInt8, mxUint8, mxInt16, mxUint16, mxInt32, mxUint32, mxInt64, mxUint64, or mxLogical. The scalar array is created with the type of the input argument.
| mwArray(const mwArray& arr) | mwArray(<type> re, <type> im) | ![]() |
© 1994-2005 The MathWorks, Inc.