External Interfaces/API Reference | ![]() ![]() |
Fortran Syntax
real*8 function mexGetInf()
Returns
The value of infinity on your system.
Description
Call mexGetInf
to return the value of the MATLAB internal Inf
variable. Inf
is a permanent variable representing IEEE arithmetic positive infinity. The value of Inf
is built in to the system; you cannot modify it.
Operations that return infinity include:
exp(100000)
returns infinity because the result is too large to be represented on your machine.See Also
![]() | mexGetGlobal | mexGetMatrix | ![]() |