Question on block in Matlab Simulink

10 次查看(过去 30 天)
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 个评论
Tom Odak
Tom Odak 2021-3-31
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.

请先登录,再进行评论。

回答(1 个)

Chidvi Modala
Chidvi Modala 2021-3-9
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!

Translated by