
How to use an enumeration from a Simulink Data Dictionary in a mask popup parameter in Simulink R2024a?
17 ビュー (過去 30 日間)
古いコメントを表示
MathWorks Support Team
2024 年 9 月 26 日
回答済み: MathWorks Support Team
2024 年 10 月 9 日
I created an enumeration inside a Simulink Data Dictionary. I want to use these values for a mask parameter but I cannot see any options to set the values of the popup parameter using the enumeration defined in a Simulink Data Dictionary. There are options to include enumerations defined externally or to create a new enumeration.
How can I specify an enumeration from an Simulink Data Dictionary as the possible values of a mask popup parameter?
採用された回答
MathWorks Support Team
2024 年 12 月 13 日
You can use the enumeration defined in the Simulink Data Dictionary as if it were an external enumeration file. The screenshot below shows an example with "myEnum" defined in a Simulink Data Dictionar populated using the "Reference Enumeration file"

0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Manage Design Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!