Simulink: Setting Mask's tab visibility
Afficher commentaires plus anciens
Dear all,
Recently i'm facing difficulty of setting the visibility of masked parameter. Here's my problem...
I already created masked subsystem in Simulink. The mask have four tabs; Movers, Diesel Parameter, Motor Parameter and Gas Tubine Parameter
In the first tab (Movers), i created pop-up button called "Movers" with three option (Diesel;Motor;Gas Turbine).
Based on the selection on the pop-up button "Movers", i would like to show applicable tab only. So ideally, user will should see 2 tabs on the mask, "Movers" and (say) Mover's parameter.
It won't be so much trouble if each parameter's tab only have several inputs. I mean i can set each parameter's visibility manually. But, since the mask have in total 30 parameters, it's a big hassle to manually set the visibility on or off (for each parameter)
My question,
- Is there a way to get_param list of the parameters based on their tab?
- Is there also a way to set_param the parameters visibility based on their tab?
Thanks,
IH
1 commentaire
Ilham Hardy
le 23 Août 2012
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Interactive Model Editing dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!