How to use sldd file instead of *.m for creating mask popup

11 ビュー (過去 30 日間)
Dimitri
Dimitri 2025 年 8 月 18 日
コメント済み: Dimitri 2025 年 8 月 20 日 7:19
Hello!
I read an article how to tune Mask Enumeration Parameters: https://nl.mathworks.com/help/simulink/ug/tunable-mask-popup-parameter.html
This example shows how to create a *.mat file for custom Enumeration parameters for mask.
I have all my Enumeration already defined in the *.sldd dictionary.
Are there any possibility to re-use enumeration from sldd for custom parameters for mask?

回答 (1 件)

Aabha
Aabha 2025 年 8 月 19 日 10:57
I understand that you want to use ‘enumerations’ from a pre-defined ‘*.sldd’ dictionary for custom parameters of a mask. You can use the ‘enumeration’ defined in the ‘Simulink Data Dictionary’ as if it were an external enumeration file.
I hope this answers your question.
  3 件のコメント
Aabha
Aabha 2025 年 8 月 20 日 2:29
It is available from R2023a release. Please refer to the following documentation link for more information about this feature in the R2023a release: https://www.mathworks.com/help/releases/r2023a/simulink/ug/tunable-mask-popup-parameter.html
Dimitri
Dimitri 2025 年 8 月 20 日 7:19
thanks

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by