Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to get output port name for builtin Delay block?

1 回表示 (過去 30 日間)
Danijel Domazet
Danijel Domazet 2020 年 5 月 27 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
simBlockH = get_param(target_module, 'Handle');
handles = find_system(simBlockH, 'LookUnderMasks', 'on', 'FollowLinks', 'on', 'SearchDepth', 1, 'BlockType', 'Outport');
portNames = cellstr(get_param(handles, 'Name'));
I am successfully using the above code to get the output port names for my blocks.
However, I tried the above code to get the output port name for a builtin Delay block I am using, but failed. How can I do that?

回答 (0 件)

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by