Scalar, logical array
#include "matrix.h" mxArray *mxCreateLogicalScalar(mxLogical value);
Logical value to which you want to initialize the array
Pointer to the created
mxArray, if successful.
If unsuccessful in a standalone (non-MEX-file) application, returns
0 in Fortran). If unsuccessful in a MEX-file,
the MEX-file terminates and returns control to the MATLAB® prompt.
The function is unsuccessful when there is not enough free heap space
to create the
mxCreateLogicalScalar to create a
a convenience function that replaces the following code:
pa = mxCreateLogicalMatrix(1, 1); *mxGetLogicals(pa) = value;
When you finish using the