mxIsEmpty (C)
Determine whether mxArray is empty
C Syntax
#include "matrix.h" bool mxIsEmpty(const mxArray *pm);
Description
mxIsEmpty
returns logical 1
(true
) if the mxArray
is empty. Otherwise, it returns
logical 0
(false
). An mxArray
is
empty if the size of any of its dimensions is 0.
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","mx","filename")]);
where filename
is:
Version History
Introduced before R2006a