Why "find_system('Blocktype', 'Model')" doesn't work ?
显示 更早的评论
Hello !
I have a System which looks like this :

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
2019-6-11
0 个投票
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!