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

4 vues (au cours des 30 derniers jours)
John Doe
John Doe le 1 Août 2020
Réponse apportée : Roger J le 1 Août 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!

Réponse acceptée

Roger J
Roger J le 1 Août 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.

Plus de réponses (0)

Catégories

En savoir plus sur Simulink dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by