Change number of Ports on a Simulink Block
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I want to create a library block for some matrix operations (not an embedded M function or S function) that can change the number of ports based on parameters in the mask. Is this possible? Thanks!
0 Commenti
Risposte (1)
Pavan Guntha
il 16 Ago 2021
Hello John,
You could have a look at Dynamic masked subsystems documentation. There is an example on varying number of input ports based on the mask parameters.
Hope this helps!
0 Commenti
Vedere anche
Categorie
Scopri di più su Create Large-Scale Model Components in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!