Clear Filters
Clear Filters

Simulink block mask popup

1 view (last 30 days)
Gareth Evans
Gareth Evans on 25 Apr 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

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 29 Apr 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.

More Answers (0)

Categories

Find more on Author Block Masks in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!