S-Function BlockType
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi
In my model i have used below blocks
{'Copy_of_temp1/Function-Call↵Generator1'}
{'Copy_of_temp1/Lookup↵Table↵Dynamic'}
{'Copy_of_temp1/S-Function'}
i need to find only s fuction blocks present in my model but after using find_system('Blocktype') along with s function above blocks also getting counted.
how to find only S-fuction block?
same case with DocBlock,Cosine block, Model Info Block & Resettable subsystem.
댓글 수: 0
답변 (1개)
Danijel Domazet
2020년 10월 7일
Try:
s_blocks = find_system(model, 'SearchDepth', 1, 'BlockType','S-Function');
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Block and Blockset Authoring에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!