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

20 visualizaciones (últimos 30 días)
Dimitri
Dimitri el 18 de Ag. de 2025 a las 11:07
Comentada: Dimitri el 20 de Ag. de 2025 a las 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?

Respuestas (1)

Aabha
Aabha el 19 de Ag. de 2025 a las 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 comentarios
Aabha
Aabha el 20 de Ag. de 2025 a las 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

Iniciar sesión para comentar.

Categorías

Más información sobre Simulink Functions en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by