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

1 次查看(过去 30 天)
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;

回答(1 个)

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

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by