MATLAB Answers


How to determine a broken connection in a test harness using a matlab script?

Asked by Viral Zaveri on 4 Jun 2019
I have a test harness for which interfaces are ever changing. So, I wish to automate the process of creating a test harness through matlab script. A situation occurs when inputs/outputs are removed and added in the model under test, the links are broken in the test harness as shown below in the snapshot.
How can I determine the connectivity between blocks (subsystems in this case)? I tried 'PortConnectivity' but I think it only works for Inports and Outports. As the above diagram shows, what command can help me to get parameters to ensure connectivity of the subsystems?


Sign in to comment.

0 Answers