Using Simulink | ![]() ![]() |
Creating Dynamic Dialogs for Masked Blocks
Simulink allows you to create dialogs for masked blocks whose appearance changes in response to user input. Features of masked dialog boxes that can change in this way include
Creating a dynamic masked dialog entails using the mask editor in combination with the Simulink set_param
command. Specifically, you first use the mask editor to define all the dialog's parameters, both static and dynamic. Next you use the Simulink set_param
command at the MATLAB command line to specify callback functions that define the dialog's response to user input. Finally you save the model or library containing the masked subsystem to complete the creation of the dynamic masked dialog.
![]() | Linking Mask Parameters to Block Parameters | Setting Masked Block Dialog Parameters | ![]() |