Search for Simulink block name

26 views (last 30 days)
Hello,
I am trying to search for Simulink blocks using their name. I can do that in the model explorer but is there a way to do that through a matlab command?
For clarity, I have a list of names for constants/parameters etc that are built into the model, and I would like a command to return the path in the simulink model where they are located like such:
constantXY -> Model1/Subsystem/ConstantXY
The goal here is then to script it and generate the paths for all the parameters in a list.
Thank you in advance.
  2 Comments
João Araújo
João Araújo on 9 Apr 2019
Yesterday somehow I couldn't make it work for search by name. Oh well. Thank you very much

Sign in to comment.

Accepted Answer

madhan ravi
madhan ravi on 9 Apr 2019

More Answers (0)

Categories

Find more on Simulink Coder in Help Center and File Exchange

Products


Release

R2013a

Community Treasure Hunt

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

Start Hunting!