| MATLAB Application Program Interface Reference | Help Desk |
mxFreeMatrix
Free dynamic memory allocated bymxCreateFull and mxCreateSparse
subroutine mxFreeMatrix(pm) integer*4 pmpm
Pointer to the beginning of the mxArray.
mxFreeMatrix returns an mxArray to the heap for reuse, freeing any arrays pr, pi, ir, or jc) allocated within the mxArray.
mxCalloc, mxFree