MATLAB Compiler Previous page   Next Page

void SetLogicalData(mxLogical* buffer, int len)

Copy data from supplied mxLogical buffer into array.

C++ syntax

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. If a conversion cannot be made, an mwException is thrown.


Previous page  void SetData(<numeric-type>* buffer, int len) void SetCharData(mxChar* buffer, int len) Next page

© 1994-2005 The MathWorks, Inc.