Simulink block name compare
이전 댓글 표시
I want to search for "YYYY" block available in my model file. If this block is not available I have to proceed with else part.
Thanks in advance
답변 (1개)
Xun Wu
2021년 2월 12일
0 개 추천
The MATLAB function "find_system" can be used to list all the blocks in a Simulink model. Run this function to get the list of blocks, and then search in the list to check whether "YYYY" exists.
Check the following page for documentation of the "find_system" function:
https://www.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!