Simulink mask: show/hide the port of a custom Simulink block
Hi guys,
I am creating a mask for my custom block and I want add a checkbox with the following behaviour:
checked: it shows a new port the the block
unhecked: it hides the new port for the block
The integrator block has the same behaviour (see the belows images to understand):
I am struggling how to implement this feature in the Checkbox callback because I can’t find the parameter to show/hide the port.Hi guys,
I am creating a mask for my custom block and I want add a checkbox with the following behaviour:
checked: it shows a new port the the block
unhecked: it hides the new port for the block
The integrator block has the same behaviour (see the belows images to understand):
I am struggling how to implement this feature in the Checkbox callback because I can’t find the parameter to show/hide the port. Hi guys,
I am creating a mask for my custom block and I want add a checkbox with the following behaviour:
checked: it shows a new port the the block
unhecked: it hides the new port for the block
The integrator block has the same behaviour (see the belows images to understand):
I am struggling how to implement this feature in the Checkbox callback because I can’t find the parameter to show/hide the port. simulink, mask, integrator, custom MATLAB Answers — New Questions