How to find each model uses given block?
Info
This question is closed. Reopen it to edit or answer.
Show older comments
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?
Answers (1)
Fangjun Jiang
on 14 Oct 2020
0 votes
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()
This question is closed.
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!