Why "find_syst​em('Blockt​ype', 'Model')" doesn't work ?

15 ビュー (過去 30 日間)
Lucas S
Lucas S 2019 年 6 月 10 日
回答済み: Utkarsh Belwal 2019 年 6 月 11 日
Hello !
I have a System which looks like this :
Capture.PNG
And i would like to use find_system() function to retrieve all input and output block. Or if i can't all Model block.
When i use this funciton with both type of block it returns me an empty cell array. Why ?
Thanks for helping !

回答 (1 件)

Utkarsh Belwal
Utkarsh Belwal 2019 年 6 月 11 日
You have to use the load_system() command first and then use the find_system(). For more information refer to the documentation https://in.mathworks.com/help/simulink/slref/find_system.html.

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by