Clear Filters
Clear Filters

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

1 view (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)

Tags

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!