Info

この質問は閉じられています。 編集または回答するには再度開いてください。

How to find each model uses given block?

1 回表示 (過去 30 日間)
Michal Naszko
Michal Naszko 2020 年 10 月 14 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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?

回答 (1 件)

Fangjun Jiang
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()

タグ

製品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by