External Interfaces/API Reference    
mxFreeMatrix

Free dynamic memory allocated by mxCreateFull and mxCreateSparse

Fortran Syntax

Arguments
pm
   Pointer to the beginning of the mxArray.

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


 mxFree mxGetIr