Question on block in Matlab Simulink

10 views (last 30 days)
Krish Singh
Krish Singh on 3 Mar 2021
Commented: Tom Odak on 31 Mar 2021
I was making a block set by watching videos on youtube but I stuck on a part of an element. I don't know the name of this element so I couldn't find it in my library. Please tell me the name of the element which is shown in the image. So that I can continue my work.
Thank you
  1 Comment
Tom Odak
Tom Odak on 31 Mar 2021
This is a gain block. (Simulnk/MathOperations)
It shows a -K- as a gain value because there is probably some value or variable inside the gain as a parameter that is to big to be displayed.
Also the block is rotated by 180° . You can rotate blocks by selecting them then hit ctr+R.

Sign in to comment.

Answers (1)

Chidvi Modala
Chidvi Modala on 9 Mar 2021
The element which you are referring to is a Gain block which multiplies the input by a constant. The gain block by default looks like something below. In the tutorial, the gain block is inputted with a workspace variable K, so you are seeing a 'K' instead of '1'.

Community Treasure Hunt

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

Start Hunting!