Simulink if action block

조회 수: 1 (최근 30일)
Nuh Metehan
Nuh Metehan 2014년 2월 5일
답변: Kaustubha Govind 2014년 4월 8일
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.

답변 (1개)

Kaustubha Govind
Kaustubha Govind 2014년 4월 8일
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).

카테고리

Help CenterFile Exchange에서 Sources에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by