How to set a parameter to a gain in simulink?
조회 수: 9 (최근 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!