Borrar filtros
Borrar filtros

Switch between subsystems using a trigger

4 visualizaciones (últimos 30 días)
David
David el 5 de Mzo. de 2014
Respondida: Chandrasekhar el 5 de Mzo. de 2014
Hey guys I have a question concerning switching between subsystems. I have a Simulink model and want to switch between two different states.
The output of the If block shall NOT be the input of the subsystems but more a trigger: If u1 > x then go on by calculating with the first subsystem else take the other one with another calculation. Do you have an idea how it will work?
Thank you in advance
David

Respuestas (1)

Chandrasekhar
Chandrasekhar el 5 de Mzo. de 2014
use if action subsystems instead of normal subsystem and connect the output of if/else block to the function call port of the if action subsystem

Categorías

Más información sobre Conditionally Executed Subsystems and Models en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by