Filter löschen
Filter löschen

Dynamically generate a simulink block

1 Ansicht (letzte 30 Tage)
Simone Bergadano
Simone Bergadano am 30 Apr. 2024
Beantwortet: Paul am 30 Apr. 2024
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.

Antworten (1)

Paul
Paul am 30 Apr. 2024
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.

Kategorien

Mehr zu Subsystems finden Sie in Help Center und File Exchange

Produkte


Version

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by