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