This example shows how to constrain input values. The Test Condition block forces the input value to be either 0 or 1.
open_system('sldvdemo_debounce_testconblk');
You have a modified version of this example. Do you want to open this example with your edits?