필터 지우기
필터 지우기

Search for Simulink block name

조회 수: 24 (최근 30일)
João Araújo
João Araújo 2019년 4월 9일
답변: madhan ravi 2019년 4월 9일
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
madhan ravi
madhan ravi 2019년 4월 9일
편집: madhan ravi 2019년 4월 9일
https://in.mathworks.com/help/simulink/slref/find_system.html %why not this? [comment moved to answer]
João Araújo
João Araújo 2019년 4월 9일
Yesterday somehow I couldn't make it work for search by name. Oh well. Thank you very much

댓글을 달려면 로그인하십시오.

채택된 답변

madhan ravi
madhan ravi 2019년 4월 9일

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Functions에 대해 자세히 알아보기

제품


릴리스

R2013a

Community Treasure Hunt

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

Start Hunting!

Translated by