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

조회 수: 3 (최근 30일)
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 CenterFile Exchange에서 Model Verification에 대해 자세히 알아보기

태그

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by