How to connect existing simulink signal to an input port of the block programmatically?

14 views (last 30 days)
Hi
I want to connect existing simulink signal to an input port of the block programmatically. I have a signal handler and block handler. How I can do it programmatically?
Thank you

Answers (1)

goerk
goerk on 11 Apr 2016
You can use the command:
h = add_line('sys','oport','iport')

Products

Community Treasure Hunt

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

Start Hunting!