Programatically change state of slider switch
이전 댓글 표시
I am using a slider switch from the Simulink Dashboard library.
Can I change its state to "off" with a Matlab script using set_param?
So far I have been unable to find a relevant parameter with get_param (gcb,'ObjectParameters').
This must be the first Matlab question I've asked in about 4 years. Really stumped on this one :/
댓글 수: 2
Ameer Hamza
2020년 4월 10일
But why do you want to change the state of the slider switch Programmatically? This seems like an unnecessary step. Why don't you directly control the variable connected with the slider switch?
Adam Chapman
2020년 4월 10일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Control Simulations with Interactive Dashboards에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!