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

1 回表示 (過去 30 日間)
义文(长沙) 李
义文(长沙) 李 2022 年 8 月 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')

カテゴリ

Help Center および File ExchangeScopes and Data Logging についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by