フィルターのクリア

Simulink block mask popup

1 回表示 (過去 30 日間)
Gareth Evans
Gareth Evans 2013 年 4 月 25 日
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 Center および File ExchangeAuthor Block Masks についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by