use the if block in ports & subsystems of simulink library browser. Number of inputs can be changed in the if block properties.
the output of if block should be connected to an 'if action subsystem'. this will be executed when the if condition is true.