Allocate and free Matrices.
Matrix *mxCreateFull(m,n,ComplexFlag)int m, n; int ComplexFlag; Matrix *mxCreateSparse(m,n,nzmax,ComplexFlag)int m, n; int nzmax; int ComplexFlag; void mxFreeMatrix(Matrix *pm)Matrix *pm
integer*4 function mxCreateFull(m,n,ComplexFlag)integer*4 function mxCreateSparse(m,n,nzmax,ComplexFlag)subroutine mxFreeMatrix(pm) integer*4 pm,m,n,nzmax,ComplexFlag
ComplexFlagREAL = 0 or COMPLEX = 1
mnnzmaxpm
mxFreeMatrix returns a Matrix structure to the heap for reuse, freeing any arrays (pr, pi, ir, or jc) allocated within the Matrix structure.
(c) Copyright 1994 by The MathWorks, Inc.