External Interfaces/API Reference |
This API function is obsolete and should not be used in a program that interfaces with MATLAB 5 or later. This function may not be available in a future version of MATLAB. If you need to use this function in existing code, use the -V4
option of the mex
script.
int engPutFull( Engine *ep, /* engine pointer */ char *name, /* full array name */ int m, /* number of rows */ int n, /* number of columns */ double *pr, /* pointer to real part */ double *pi /* pointer to imaginary part */ ) { mxArray *pmat; int retval; pmat = mxCreateDoubleMatrix(0, 0, mxCOMPLEX); mxSetM(pmat, m); mxSetN(pmat, n); mxSetPr(pmat, pr); mxSetPi(pmat, pi); retval = engPutVariable(ep, name, pmat); /* Set pr & pi in array struct to NULL so it can be cleared. */ mxSetPr(pmat, NULL); mxSetPi(pmat, NULL); mxDestroyArray(pmat); return(retval); }
See Also
engGetVariable
, mxCreateDoubleMatrix
engPutArray (Obsolete) | engPutMatrix (Obsolete) |