Simulink block mask popup

4 次查看(过去 30 天)
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

采纳的回答

Kaustubha Govind
Kaustubha Govind 2013-4-29
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 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

标签

产品

Community Treasure Hunt

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

Start Hunting!

Translated by