[Error] - SubSystem block does not have a parameter named 'u'
조회 수: 11 (최근 30일)
이전 댓글 표시
I have a simple simulink model,
- two states - On and OFF
- one output - y, attached to a scope
- one parameter - u
- transition rules - when u < 0 goto OFF, when u > 0 go to ON
I'm trying to do the following from the workspace,
set_param ('Model/Block','u','1')
and I'm getting 'subsystem block does not have a parameter named 'u''...all I want to do is to toggle the parameter 'u' from 0 to 1 and 1 to 0 to observe the effect on the scope..
Can someone plz point out where I have gone wrong?
Many thanks, Luke
댓글 수: 1
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!