User`s guide
void SetLogicalData(mxLogical* buffer, mwSize len)
Purpose Copy data from supplied mxLog ical buffer into array
C++
Syntax
#include "mclcppclass. h"
mxLogical data[4] = {true, false, true, false};
mxLogical data_copy[4] ;
mwArray a(2, 2, mxLOGICAL_CLASS);
a.SetData(data, 4);
a.GetData(data_copy, 4);
Arguments buffer
Buffer containing data to copy
len
Maximum length of buffer. A maximum of len elements will be
copied.
Return
Value
None
Description The data is copied in column-major order. If the underlying array is not
of type
mxLOGICAL_CLASS, the data is converted to this type as it is
copied. I f a conv ersion cannot be made, an
mwException is throw n .
C-82