How the Tunable parameters are generated in the code ?
조회 수: 1 (최근 30일)
이전 댓글 표시
If the Parameter is mentioned as a tunable parameter in the configuration parameters. Then how we can tune the parameter dynamically(While code is running)?
댓글 수: 0
채택된 답변
Jorik
2015년 9월 4일
After updating the value of a variable (e.g. in the MATLAB base workspace), the parameter is not automatically changed in the simulation. During the simulation you can perform a model update (e.g. Ctrl+D), to let Simulink check if any of the tunable parameters were changed. The parameter could also be changed with a "set_param" function call.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Event Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!