Switch automatically between multiple inputs with conditions in Simulink

Hi I have a simulink model in which I need to switch automatically between three inputs according to witch condition is verified.
I have created an embedded function (attached pictures) to test the conditions and than return the input selected in the output but it doesn't work.
Can somebody propose me another method to do that please?
Thank you

Respuestas (0)

Categorías

Más información sobre Verification, Validation, and Test en Centro de ayuda y File Exchange.

Preguntada:

el 20 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by