MATLAB: How to remove the input port from Gain block of Simulink

controlelectric_motor_controlMATLABsimulink

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!

Best Answer

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.
Related Question