Simulink block mask popup
4 views (last 30 days)
Show older comments
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
0 Comments
Accepted Answer
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.
0 Comments
More Answers (0)
See Also
Categories
Find more on Author Block Masks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!