Clear Filters
Clear Filters

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

3 views (last 30 days)
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?

Accepted Answer

TAB
TAB on 11 May 2018
portCon = get_param(youBlockHandle, 'PortConnectivity');

More Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Tags

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!