how can i get (-K-) value in gain function using Simulink.

5 个评论

In which project are you using it?? Please answer!!
I am using this for wind turbine model.
Double-click on the block and the parameters should come up.
If you need to be able to get the gain by way of program, then you can
get_param('NAME_OF_MODEL/Heat Gain/Degree', 'Gain')
where you need to replace NAME_OF_MODEL with the appropriate model name. Also, I am not happy about the '/' in the block name 'Heat Gain/Degree': that could potentially cause problems.

请先登录,再进行评论。

回答(0 个)

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by