필터 지우기
필터 지우기

Change constant during simulation in Simulink

조회 수: 49 (최근 30일)
Alex
Alex 2013년 12월 2일
편집: Vincent Nicolazzo 2019년 3월 6일
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
Azzi Abdelmalek 2013년 12월 2일
Look at set_param function

Vincent Nicolazzo
Vincent Nicolazzo 2019년 3월 6일
편집: Vincent Nicolazzo 2019년 3월 6일
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.

카테고리

Help CenterFile Exchange에서 Simulink Environment Customization에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by