set_param() in Repeating Sequence / Simulink doesn't work
이전 댓글 표시
Hello, Today I tried to change the y-Parameter of a repeating-Sequence-Block during Simulation.
rs_y1 = 0:200;
set_param('RS_test/rs','rep_seq_y','rs_y1');
I defined rs_y1 as global variable. The strange thing is that I don't get any errors or warnings (I can even see that the little graph on the repeating-Sequence-block changes). Can someone explain why the new y-Parameters aren't used during the simulation? And maybe there is a solution?
채택된 답변
추가 답변 (1개)
Ronron
2015년 6월 9일
0 개 추천
댓글 수: 1
Drew Davis
2015년 6월 9일
For edit fields inside a block mask, text entries are interpreted as strings
카테고리
도움말 센터 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!