How to differentiate Subsystem and MATLAB Function Block with find_system()

조회 수: 7 (최근 30일)
I have a model with many Subsystem blocks and many MATLAB Function blocks. I'm trying to use find_system to store all Subsystem blocks but as the type of both blocks is Subsystem i can't store Subsystems with this code:
find_system('model', 'SearchDepth', 1, 'BlockType', 'SubSystem');
How can i limit to only Subsystems ?
Thanks you !

채택된 답변

Ankit
Ankit 2020년 3월 3일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by