I created a custom mask on a Simulink block that allows to modify the number of ports of the original block and I saved it as a library block in a custom library. When I now use this block in a model and change the number of ports I see the following strange behavior:
If the library block has by default 2 in-ports and the block is configured for 3 in-ports then every time the model is opened, the third input signal is disconnected from the block.
What can I do to prevent this?
Best Answer