MATLAB Application Program Interface Reference | Help Desk |
mxSetData
Set pointer to data
#include "matrix.h" void mxSetData(mxArray *array_ptr, void *data_ptr);array_ptr data_ptr mxSetData is similar to mxSetPr, except it returns a void *. Use this on numeric arrays with contents other than double.
mxSetPr