How can I promote type selection popup to subsystem mask?

1 次查看(过去 30 天)
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?

采纳的回答

Max Bjurling
Max Bjurling 2016-5-16
编辑:Max Bjurling 2016-5-16
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.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Author Block Masks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by