IRIS Toolbox Reference Manual

## isnan

Check for NaNs in model object

#### Syntax

    [Flag,List] = isnan(M,'parameters')
    [Flag,List] = isnan(M,'sstate')
    [Flag,List] = isnan(M,'derivatives')

#### Input arguments

- `M` [ model ] - Model object.

#### Output arguments

- `Flag` [ `true` | `false` ] - True if at least one `NaN` value exists in the queried category.

- `List` [ cellstr ] - List of parameters (if called with `'parameters'`) or variables (if called with `'variables'`) that are assigned NaN in at least one parameterisation, or equations (if called with `'derivatives'`) that produce an NaN derivative in at least one parameterisation.

#### Description

#### Example

IRIS Toolbox. Copyright © 2007—2013 Jaromir Benes.