How to find signals, which are defined in matlab-workspace, but not used in the SimulinkModel?
5 次查看(过去 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
0 个评论
采纳的回答
Fangjun Jiang
2019-8-19
Right click on your model, select "Find Reference Variables". Highlight all referenced variables, right click, select "Export Selected"
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!