External Interfaces Reference Previous page   Next Page
mxIsSparse

Determine if mxArray is sparse

Fortran Syntax

Arguments

pm
   Pointer to an mxArray.

Returns

1 if the mxArray is sparse, and 0 otherwise.

Description

Use mxIsSparse to determine if an mxArray is stored in sparse form. Many routines (for example, mxGetIr and mxGetJc) require a sparse mxArray as input.

There are no corresponding set routines. Use mxCreateSparse to create sparse mxArrays.

See Also

mxGetIr, mxGetJc, mxCreateSparse


Previous page  mxIsSingle mxIsString (Obsolete) Next page

© 1994-2005 The MathWorks, Inc.