MATLAB Answers

Simulink Mask Port Visibility

7 views (last 30 days)
Fabian David Chico Moreno
Fabian David Chico Moreno on 20 Nov 2020
Answered: Nikhil Sonavane on 27 Nov 2020
Hello!
I have a masked simulink block which has 3 models with different level of fidelity.
I would like to add a check box that when selected turns on/off the visibility of certain ports that are/are not required in the block depending of the user selection.
I see that in some blocks such as the battery one in the figure. This functionality is already added. The port Ta is activated or deactived as a function of the check box.
Does anyone know who to do this?
Thanks in advance.

Answers (1)

Nikhil Sonavane
Nikhil Sonavane on 27 Nov 2020
You may refer to this link for more details.

Community Treasure Hunt

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

Start Hunting!