Why "find_system('Blocktype', 'Model')" doesn't work ?
조회 수: 14 (최근 30일)
이전 댓글 표시
Hello !
I have a System which looks like this :
![Capture.PNG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/223802/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 !
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!