How to get the label name when I enable the property of signal propagation

2 views (last 30 days)
I have enable the signal propagation, and the line is also show the propagated singals, see the picture. but how can I get the lable name use script (get the lable '<VTQC_fADSpdLimit_kph>' in the picture).
or is there any solutions to judge that the propagated singals lable is empty or not;

Answers (1)

Fangjun Jiang
Fangjun Jiang on 30 Aug 2022
ph=get_param('PathToTheFromBlock','PortHandles');
get_param(ph.Outport,'PropagatedSignals')

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!