Simulink if action block

Hello I have another question regarding simulink if action block.
I would like to use a value ,which enters to if block, as a variable in if action box. Should i define this variable in matlab editor again ? My problem was as an image to this post attached. the rest parameters i already defined.

Respuestas (1)

Kaustubha Govind
Kaustubha Govind el 8 de Abr. de 2014

0 votos

You cannot use an input signal as a Gain parameter. Instead, you may want to replace the Gain block with a combination of Constant and Product blocks, so you can multiply the input with constants (which is what you're trying to achieve with the Gain block).

Categorías

Más información sobre Modeling en Centro de ayuda y File Exchange.

Productos

Etiquetas

Preguntada:

el 5 de Feb. de 2014

Respondida:

el 8 de Abr. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by