External Interfaces/API Reference |
Get the total number of columns
Fortran Syntax
Arguments
Returns
The number of columns in the mxArray
.
Description
Call mxGetN
to determine the number of columns in the specified mxArray
.
If pm
points to a sparse mxArray
, mxGetN
still returns the number of columns, not the number of occupied columns.
Example
See matdemo2.f
in the eng_mat
subdirectory of the examples
directory for a sample program that illustrates how to use this routine in a Fortran program.
See Also
mxGetM | mxGetName (Obsolete) |