| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Simulink |
| Contents | Index |
| Learn more about Simulink |
Logic and Bit Operations

The Interval Test Dynamic block outputs TRUE if the input is between the values of the external signals up and lo. The block outputs FALSE if the input is outside those values. The output of the block when the input is equal to the signal up or the signal lo is determined by whether the boxes next to Interval closed on left and Interval closed on right are selected in the dialog box.
The Interval Test Dynamic block accepts signals of the following data types:
Floating-point
Built-in integer
Fixed-point
Boolean

When you select this check box, the value of the signal connected to the block's "up" input port is included in the interval for which the block outputs TRUE.
When you select this check box, the value of the signal connected to the block's "lo" input port is included in the interval for which the block outputs TRUE.
Select the output data type: boolean or uint8.
Direct Feedthrough | Yes |
Scalar Expansion | Yes |
![]() | Interval Test | Level-2 M-File S-Function | ![]() |

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |