How to find each model uses given block?
정보
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
이전 댓글 표시
I need to find each .slx model which uses block matrix multiply.
For example in given directory I have the following models:
- modelA
- modelB
- modelC
modelA and modelC contain matrix multiply block and modelB does not contain this block. So expected result of find command is modelA and modelC. Is there any command that let me perform that action?
댓글 수: 0
답변 (1개)
Fangjun Jiang
2020년 10월 14일
0 개 추천
You will need to go through a loop, open or load each model, find if particular block exists and then close the model.
open_system()
find_system()
댓글 수: 0
이 질문은 마감되었습니다.
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!