| Using Simulink | Search  Help Desk |
Breaking on Nonfinite Values
Thenanbreak command stops a simulation when the simulation computes a value that is infinite or outside the range of values that can be represented by the machine running the simulation. The nanbreak command is useful for pinpointing computational errors in a Simulink model.