How to set a parameter to a gain in simulink?
5 ビュー (過去 30 日間)
古いコメントを表示
Hi everyone,
I am trying to make the attached model for my assignment in Simulink, but I keep getting the attached error when I am trying to set a 1/m gain. Anyone knows what is the problem?
Thanks for helping me.
0 件のコメント
回答 (1 件)
Stalin Samuel
2016 年 10 月 7 日
Make sure that you are getting right value for variable in the gain block. According to me if you know the value m then use the final result of (1/m) in the gain block
2 件のコメント
Stalin Samuel
2016 年 10 月 8 日
編集済み: Stalin Samuel
2016 年 10 月 8 日
- In File menu go to "model properties-->Model properties"
- Model properties window will be opened
- In which under callbacks section click on InitFcn
- Then specify the values in Model initialization function editor box
- Then click on Apply-->OK
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!