How can I promote type selection popup to subsystem mask?

1 view (last 30 days)
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?

Accepted Answer

Max Bjurling
Max Bjurling on 16 May 2016
Edited: Max Bjurling on 16 May 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.

More Answers (0)

Categories

Find more on Author Block Masks in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!