How do I find all the blocks connected to a start block in simulink using matlab code?

1 回表示 (過去 30 日間)
Kulan Sinclair
Kulan Sinclair 2018 年 5 月 10 日
回答済み: TAB 2018 年 5 月 11 日
I'm trying to make a script that finds all connected blocks to a start block or set of blocks in a simulink model. How can i do it?

採用された回答

TAB
TAB 2018 年 5 月 11 日
portCon = get_param(youBlockHandle, 'PortConnectivity');

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Functions についてさらに検索

タグ

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by