How to connect a subsystem with an in/out port with code ?

Hello !
I have a system with subsystems and in/out port inside, like this :
And i would like to know if it's possible to and how to connect subsystem's ports with system's ports automatically.
Is there a function to create Simulink link ?
Thanks you !

Answers (0)

Asked:

on 26 Jun 2019

Edited:

on 26 Jun 2019

Community Treasure Hunt

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

Start Hunting!