How to find the position of the signal name by simulink API

2 views (last 30 days)
Consider that two blocks are connected by a signal line and it is named as Sig1. I want to find the position of the signal name Sig1 above or below the signal line using Matlab script by command line.
Script tried: Lines = find_system('mldname','FindAll','on','type','line'); get(Lines(1))
The above command does not hold the information about position of the signal names in the line (i.e) above the line or below the line.
Suggest me the alternate command to achieve my objective.

Answers (0)

Categories

Find more on Signal Generation, Manipulation, and Analysis in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!