How can I promote type selection popup to subsystem mask?

1 vue (au cours des 30 derniers jours)
Max Bjurling
Max Bjurling le 13 Mai 2016
Modifié(e) : Max Bjurling le 16 Mai 2016
I am using Altera DSP Builder with Simulink and I want to create a masked subsystem that contains the library block "SampleDelay". The SampleDelay block has an output type that is set by a popup where you can select the type to be inherited or specified by a dialog. How can I promote this popup with all the options to the subsystem mask so that the SampleDelay output type can be set from the subsystem mask?

Réponse acceptée

Max Bjurling
Max Bjurling le 16 Mai 2016
Modifié(e) : Max Bjurling le 16 Mai 2016
Solved this by following the examples in the "Dynamic Mask Dialog Box" help section.
More specifically, I needed to promote both the output mode (popup) and the output type/scaling to the mask. Then the visibility of the output type and scaling can be controlled in the callback function of the output mode as described in the help text.

Plus de réponses (0)

Catégories

En savoir plus sur Author Block Masks dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by