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

2 次查看(过去 30 天)
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

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by