How to use variables in a subsystem mask
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi!
I am working on a subsystem mask that changes its outputs depending on a popup. The thing is that I have to know which was the previous popup item selected to do one change or another.
I am doing it by using one parameter of the mask. It works when it is shown in the mask ( show parameter checked), but when I hide it (I don't want to see this variable) it stop working properly.
Is there any way to use variables instead of parameters to do that?
Many thanks!
댓글 수: 8
Zoe Xiao
2017년 8월 2일
I tried your code in 2017a, and it worked fine if you deselect the 'visible' check box of the mask parameter.
답변 (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!