| External Interfaces/API Reference | ![]() |
Get the value of NaN (Not-a-Number)
Fortran Syntax
real*8 function mexGetNan()
Returns
MATLAB's value of NaN (Not-a-Number).
Description
Call mexGetNaN 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:
0.0/0.0Inf-InfSee Also
| mexGetMatrixPtr | mexIsFinite | ![]() |