| MATLAB Application Program Interface | Search  Help Desk |
| mxFreeMatrix | See Also |
Free dynamic memory allocated by mxCreateFull and mxCreateSparse
Fortran Syntax
subroutine mxFreeMatrix(pm) integer*4 pm
Arguments
pmmxArray.
Description
mxFreeMatrix returns an mxArray to the heap for reuse, freeing any arrays pr, pi, ir, or jc) allocated within the mxArray.
See Also
mxCalloc, mxFree