Change number of Ports on a Simulink Block

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!

Respuestas (1)

Pavan Guntha
Pavan Guntha el 16 de Ag. de 2021

0 votos

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!

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Productos

Versión

R2020b

Etiquetas

Preguntada:

el 12 de Ag. de 2021

Respondida:

el 16 de Ag. de 2021

Community Treasure Hunt

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

Start Hunting!

Translated by