Effacer les filtres
Effacer les filtres

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

3 vues (au cours des 30 derniers jours)
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?

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Simulink Functions dans Help Center et File Exchange

Tags

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by