mxIsFromGlobalWS (C)
Determine whether mxArray was copied from MATLAB global workspace
C Syntax
#include "matrix.h" bool mxIsFromGlobalWS(const mxArray *pm);
Description
The function returns logical 1 (true) if the array
was copied out of the global workspace. Otherwise, it returns logical 0
(false). Use mxIsFromGlobalWS for standalone
MAT-file programs.
Input Arguments
Examples
To open an example, type:
edit([fullfile(matlabroot,"extern","examples","eng_mat","filename")]);
where filename is:
Version History
Introduced before R2006a