MATLAB Answers

0

Simulink if action block

Asked by Nuh Metehan on 5 Feb 2014
Latest activity Answered by Kaustubha Govind on 8 Apr 2014
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.

  0 Comments

Sign in to comment.

Tags

Products

1 Answer

Answer by Kaustubha Govind on 8 Apr 2014

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).

  0 Comments

Sign in to comment.