Filter löschen
Filter löschen

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

3 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

TAB
TAB am 11 Mai 2018
portCon = get_param(youBlockHandle, 'PortConnectivity');

Weitere Antworten (0)

Kategorien

Mehr zu Simulink Functions finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by