Info
此问题已关闭。 请重新打开它进行编辑或回答。
How to find each model uses given block?
1 次查看(过去 30 天)
显示 更早的评论
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
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!