How to connect In to multiple subsystems (neatly) through scripting?

4 ビュー (過去 30 日間)
Michael Jarboe
Michael Jarboe 2016 年 2 月 11 日
コメント済み: Michael Jarboe 2016 年 2 月 11 日
Hello, so I written a script that uses a database file to create multiple subsystems and connects the subsystems to a BusCreator. My issue is with connecting my Input to all of the subsystems, I am able to do it but it the way it comes out is not visually appealing when compared to doing so manually. Is there a way to 'connect' lines compared to adding new ones from my Input port?
  1 件のコメント
Michael Jarboe
Michael Jarboe 2016 年 2 月 11 日
Nevermind! I got it, just had to ask google the right question add_line(sys, 'In2/1', [Block '/1'], 'autorouting', 'on');

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeProgrammatic Model Editing についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by