MATLAB: How to promote type selection popup to subsystem mask

masked subsystempromote parameters

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?

Best Answer

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.