command for reading the available subsystems using find_system();

14 ビュー (過去 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 Center および File ExchangeSubsystems についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by