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 中查找有关 Simulink Functions 的更多信息

标签

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by