| Simulink Reference | ![]() |
Determine if a signal is in a specified interval
Library
Description
The Interval Test block outputs TRUE if the input is between the values specified by the Lower limit and Upper limit parameters. The block outputs FALSE if the input is outside those values. The output of the block when the input is equal to the Lower limit or the Upper limit is determined by whether the boxes next to Interval closed on left and Interval closed on right are selected in the dialog box.
Data Type Support
The Interval Test block accepts signals of any data type supported by Simulink, including fixed-point data types.
Parameters and Dialog Box
boolean or uint8.
Characteristics
| Direct Feedthrough |
Yes |
| Scalar Expansion |
Yes |
See Also
| Interpolation (n-D) Using PreLookup | Interval Test Dynamic | ![]() |
© 1994-2005 The MathWorks, Inc.