Change number of connection ports of a mask depending on user input?

3 views (last 30 days)
I have the following problem in Simulink: I want to change the number of port connections depending on the user input. If the user for example writes the following Parameters into the User Input,
then the block should look like this:
I want to use the block inside a library, so i think it should be written in the callback of the mask, but up to now i haven't found a solution for this.

Answers (1)

Govind KM
Govind KM on 22 Aug 2024
Hi Bernhard,
As I understand, you want to change the number of input/output port connections based on user input.
Hope this helps!

Categories

Find more on Author Block Masks in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!