In case of either wrap or saturate, you want to know when overflow occurs. You
can define how Simulink handles each of these
overflow conditions in the model by modifying the Model Configuration Parameters. Open
the Model Configuration Parameters by selecting , or typing Ctrl-E.
You can specify values for the Wrap
on Overflow and Saturate on
Overflow fields. Open the Configuration
Parameters dialog box, under the Diagnostics > Data Validity tab. Each of these fields can
have one of the following settings:
- none
- Simulink takes no special action to report or handle the overflow.
- warning
- A message displays in the diagnostic viewer. The tool ignores the next warning for the same block, and simulation continues.
- error
- The diagnostic viewer displays an error message, and the simulation terminates.
Tip: You can find help for this dialog
box under Model Configuration Parameters: Data Validity
Diagnostics.