how to model a switch with two different conditions for activation and deactivation
Mostrar comentarios más antiguos
Hello:
I have a problem modeling a dynamic system. Now I understand the problem and know a possible solution. My problem is to transform the thought logic into Simulink language.
Let's describe what I want to do:
I want to activate or deactivate a subsystem based on a signal value (0 or 1) in a discrete subsystem. The activation is conditioned by another two conditions: condition A must be ON and does not matter the value of condition B. At this point, if condition A turns to off, the subsystem must be active until condition B is ON (How to maintain this value?). Finally the subsystem is deactivated and it will wait for another instant when condition A is ON again.
Thank you in advance for your help!!
Respuesta aceptada
Más respuestas (1)
Javier Guiterrez
el 9 de Mayo de 2011
0 votos
Categorías
Más información sobre Simulation en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
