Library to referenced subsystems
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello! I have a code that compares some blocks in a Matlab R2020b Simulink application, but it keeps updating and now it doesn't work anymore, because some libraries have been changed to some "referenced subsystems"
for fi = 1:numel(all_libs)
if contains(all_libs(fi).Library, '_function') || contains(all_libs(fi).Library, '_Funktion')
this is the part of the code that searched in libraries, but now they don't exist anymore. How can I make it to search for those referenced subsystems?
댓글 수: 0
답변 (1개)
Jaskirat
2025년 4월 24일
In order to search for referenced subsystems, you can use the “find_system()” functions and select the “FollowLinks” and “LookInsideSubsytemReference” parameters.
You can refer to the following documentation link for more information:
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Subsystems에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!