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

4 ビュー (過去 30 日間)
Lucas S
Lucas S 2020 年 3 月 3 日
コメント済み: Lucas S 2020 年 3 月 3 日
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 日
  1 件のコメント
Lucas S
Lucas S 2020 年 3 月 3 日
Thank you ! The answer provided by Monika helped me more for my problem.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

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