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!