필터 지우기
필터 지우기

Given a port handle, how to find the port handles to which it connects?

조회 수: 6 (최근 30일)
Jacques
Jacques 2014년 3월 8일
Hello,
If I have a port handle in Simulink, I would like to know how to find the port handles of all ports to which this port is connected.
I would also like the solution to work with simscape physical connections.
I know that from a port handle, I can have the handle of the line to which it is connected. But then? If the node is connected to several other blocks, there will be a node on the line, and this makes three lines involved...
I also know about the PortConnectivity parameter of a block, which gives the handle of the destination/source port, but from there, I cannot have the handle of the current port, so I cannot match both...
Thank you for your answers

답변 (0개)

카테고리

Help CenterFile Exchange에서 Nonlinear Operators에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by