User`s guide
mwArray(<type> re)
Purpose Construct real scalar array of type of the input argument and initialize
data with input argument’s value
C++
Syntax
#include "mclcppclass. h"
double x = 5.0;
mwArray a(x); // Creates 1X1 double array with value 5.0
Arguments re
Scalar value to initialize array with
Return
Value
None
Description Use this constructor to create a real scalar array. < type> can be any
of the following:
mxDouble, mxS ingle, mxInt8, mxUint8, mxInt16,
mxUint16, mxInt32, mx Uint 32, mx Int64, mxUint64,ormxLogical.The
scalar array is created with thetypeoftheinputargument.
C-43