How to find signals, which are defined in matlab-workspace, but not used in the SimulinkModel?

조회 수: 4 (최근 30일)
My Problem is, that I have defined a lot of signals in my *.m files and while working on my model I stoped using them.
Now I have to do something like a "Clean up" and have to find the unused Signals what are in the WS but not used in the Model.
Does anyone have a fast solution for that?
Does there maby already exist some model check or report for that?
Best Regards
Lukas

채택된 답변

Fangjun Jiang
Fangjun Jiang 2019년 8월 19일
Right click on your model, select "Find Reference Variables". Highlight all referenced variables, right click, select "Export Selected"
  댓글 수: 1
Lukas Pircher
Lukas Pircher 2019년 8월 19일
Hello Fangjun Jiang,
thank you for your quick answer.
It helped me a lot, I did not know that this searching function exists.
I had just to put the dropdown for the Search to "unused Values"
and got all i needed.
Have a good Day
Lukas

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programmatic Model Editing에 대해 자세히 알아보기

제품


릴리스

R2013b

Community Treasure Hunt

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

Start Hunting!

Translated by