Change constant during simulation in Simulink
이전 댓글 표시
I update my constants during simulation in following way: run simulation, stop, change const, run, stop and so on. But how can i do this programmatically? This is the picture what should be result.

답변 (2개)
Azzi Abdelmalek
2013년 12월 2일
1 개 추천
Look at set_param function
Vincent Nicolazzo
2019년 3월 6일
편집: Vincent Nicolazzo
2019년 3월 6일
0 개 추천
Check out this link. It's not the best method but it worked for me. I would run my simullation and change the value of the constant in the command window.
카테고리
도움말 센터 및 File Exchange에서 Simulink에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!