![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/340207/image.jpeg)
How to remove the input port from Gain block of Simulink?
5 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/340195/image.png)
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!
0 Commenti
Risposta accettata
Roger J
il 1 Ago 2020
If you are trying to drive the output with a constant value "0.5" then you can use something like
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/340207/image.jpeg)
You can add the "Constant" element type the same way that you add the "Gain" element.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Simulink Functions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!