How can I promote type selection popup to subsystem mask?

조회 수: 1 (최근 30일)
Max Bjurling
Max Bjurling 2016년 5월 13일
편집: Max Bjurling 2016년 5월 16일
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