フィルターのクリア

Dynamically generate a simulink block

1 回表示 (過去 30 日間)
Simone Bergadano
Simone Bergadano 2024 年 4 月 30 日
回答済み: Paul 2024 年 4 月 30 日
I was wondering if it was possible to dynamically generate a Simulink block (subsystem with mask) based on the parameters entered: for example being able to decide how many inputs/outputs it has by inserting the number as a parameter (as happens for the mux and demux blocks) but also by changing how the subsystem is made internally.

回答 (1 件)

Paul
Paul 2024 年 4 月 30 日
This doc page Dynamic Masked Subsystem is probably what you're looking for. Not sure if the number of inputs or outputs can be changed dynamically this way, but definitely can change things inside the subsystem.

カテゴリ

Help Center および File ExchangeSubsystems についてさらに検索

製品


リリース

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by