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')
  1 件のコメント
义文(长沙) 李
义文(长沙) 李 2022 年 9 月 3 日
Follow your advice, I get the label , thank you.

サインインしてコメントする。

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by