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

7 Ansichten (letzte 30 Tage)
John Doe
John Doe am 1 Aug. 2020
Beantwortet: Roger J am 1 Aug. 2020
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!

Akzeptierte Antwort

Roger J
Roger J am 1 Aug. 2020
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.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by