Search by line name
조회 수: 8 (최근 30일)
이전 댓글 표시
In a multi-level model, is it possible to get all the ouports and line names as well using command line ?
댓글 수: 2
답변 (1개)
Fangjun Jiang
2020년 8월 5일
set 'FindAll' to be 'On' to search for signal lines. For outports, you need to clarify whether it is Outport block or outports of any block.
>> f14
>> find_system('f14','FindAll','On','type','line','name','w')
ans =
118.0001
117.0001
116.0001
댓글 수: 2
Fangjun Jiang
2020년 8월 6일
Then it is straightforward to search for 'BlockType','Outport'. Once found, get its 'LineHandles'
참고 항목
카테고리
Help Center 및 File Exchange에서 Sources에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!