필터 지우기
필터 지우기

command for reading the available subsystems using find_system();

조회 수: 4 (최근 30일)
Joseph Stalin
Joseph Stalin 2016년 11월 9일
답변: Kanupriya Singh 2020년 6월 26일
Hi, I have a model with few sub system blocks inside. I am using find_system() to read the subsystems as below.. find_system('<ModelName>/<Parent_Subsystem>','BlockType','Subsystem'); It reads empty cell.. But I am expecting the path of the subsystems inside the Parent_Subsystem.. Could anybody help me on this?

답변 (1개)

Kanupriya Singh
Kanupriya Singh 2020년 6월 26일
To get all the subsystems inside your loaded system, use the following code:
find_system(system_name, 'FollowLinks', 'on', 'LookUnderMasks', 'all', 'LookUnderReadProtectedSubsystems', 'on', 'BlockType', 'SubSystem')

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by