MATLAB: IF-ELSE block in simulink

real time workshopsimulink

Assalamualaikum & hi all
I just want to know is it possible to end the IF-ELSE block execution process at certain point. Because in my model the IF_ELSE block keeps execute,unless i stop the model. My model run in real-time process using Wincon software

Best Answer

  • You can put the If-Else subsystem inside an Enabled Subsystem that you can disable/enable at any point in the simulation.