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

3 ビュー (過去 30 日間)
Bernhard Seiringer
Bernhard Seiringer 2024 年 3 月 22 日
回答済み: Govind KM 2024 年 8 月 22 日
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.

回答 (1 件)

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

カテゴリ

Help Center および File ExchangeAuthor Block Masks についてさらに検索

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by