mxGetDimensions (C)
Pointer to dimensions array
C Syntax
#include "matrix.h" const mwSize *mxGetDimensions(const mxArray *pm);
Description
mxGetDimensions returns a pointer to the first element in the
dimensions array. Each integer in the dimensions array represents the number of elements in a
particular dimension. The array is not NULL terminated.
Use mxGetDimensions to determine how many elements are in each
dimension of the mxArray that pm points to. Call
mxGetNumberOfDimensions to get the number of
dimensions in the mxArray.
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mx","filename")]);
where filename is:
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","refbook","filename")]);
where filename is:
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mex","filename")]);
where filename is:
Version History
Introduced before R2006a