How to remove the input port from Gain block of Simulink?

조회 수: 7 (최근 30일)
John Doe
John Doe 2020년 8월 1일
답변: Roger J 2020년 8월 1일
How can I remove the input port from the gain block? I just want to pass some gain value without any input. How can I do that?
Thanks in advance!

채택된 답변

Roger J
Roger J 2020년 8월 1일
If you are trying to drive the output with a constant value "0.5" then you can use something like
You can add the "Constant" element type the same way that you add the "Gain" element.

추가 답변 (0개)

카테고리

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

Community Treasure Hunt

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

Start Hunting!

Translated by