How to build a modul that accepts a variable number of inport like "Add" ?

1 view (last 30 days)
Shall we build a modul that accepts a variable number of inport like "Add" ?
Using varargin in "matlab function block" doesn't work.

Answers (1)

John
John on 2 Nov 2022
Solved. "https://www.mathworks.com/help/simulink/ug/create-dynamic-masked-subsystems.html"

Community Treasure Hunt

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

Start Hunting!