| MATLAB Application Program Interface | Search  Help Desk |
| mexGetNaN | See Also |
Get the value of NaN (Not-a-Number)
Fortran Syntax
real*8 function mexGetNan()
Arguments
noneReturns
MATLAB's value ofNaN (Not-a-Number).
Description
CallmexGetNaN to return the value of NaN for MATLAB. NaN is the IEEE arithmetic representation for Not-a-Number. Certain mathematical operations return NaN as a result, for example:
See Also
mexGetEps, mexGetInf