Download mcc - Parent Directory
Transcript
void SetCharData(mxChar* buffer, mwSize len)
Purpose
C++
Syntax
Arguments
Copy data from supplied mxChar buffer into array
#include "mclcppclass.h"
mxChar data[6] = {'H', 'e' , 'l' , 'l' , 'o' , '\0'};
mxChar data_copy[6] ;
mwArray a(1, 6, mxCHAR_CLASS);
a.SetCharData(data, 6);
a.GetCharData(data_copy, 6);
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 mxCHAR_CLASS, the data is converted to this type as it is copied.
If a conversion cannot be made, an mwException is thrown.
D-85
Related documents
MATLAB Compiler
MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User`s guide
MATLAB BUILDER JA 2 User`s guide
PEAXACT Application Server - User Manual
MATLAB Compiler User`s Guide
MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE User`s guide
User Manual for the DREAM Toolbox Version 2.1.3 An ultrasound
MATLAB Compiler User`s Guide
MATLAB POLYSPACE 7 Installation guide