| MATLAB Application Program Interface | Search  Help Desk |
| mxSetData | See Also |
C Syntax
#include "matrix.h" void mxSetData(mxArray *array_ptr, void *data_ptr);
Arguments
array_ptrmxArray.
data_ptr
Description
mxSetData is similar tomxSetPr, except it returns a void *. Use this on numeric arrays with contents other than double.
See Also
mxSetPr