Simulink block mask popup

4 vues (au cours des 30 derniers jours)
Gareth Evans
Gareth Evans le 25 Avr 2013
Hello,
Is it possible to create a popup within a Simulink block mask that can trigger more than one parameter without calling an external file from the workspace?
For example when you click the popup in the mask and you have entered two cases into the 'type specific options' and within the block mask window you then select one of the scenarios:
'Case 1' values = [a=1 b=2 c=3] 'Case 2' values = [a=4 b=5 c=6]
(Where all you can see is 'Case 1' in the popup window)
Would you be able to place the values a b and c in dialog callback pane? and the values then be visible to the constant blocks within the masked model named a, b and c.
Hope this is clear.
thanks,
Gus

Réponse acceptée

Kaustubha Govind
Kaustubha Govind le 29 Avr 2013
Yes, this is possible, and it looks like you have the methodology correct. There is also some documentation at Calculate Values Used Under the Mask.

Plus de réponses (0)

Catégories

En savoir plus sur Author Block Masks dans Help Center et File Exchange

Tags

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by