How to find the unused bus objects from base workspace in Simulink?

조회 수: 20 (최근 30일)
Hi All,
I am working on a very big model. and the amount if base variables is so big.
I need to find and remove the unsued variables from my base workspace(Including the Bus objects created/present)
Do we have any prebuild approach in Matlab to perform this or any scripts to be created to perform this?
Please proviede solution if known to you,
Thanks,
Dharaneedharan Arumugam.

채택된 답변

Fangjun Jiang
Fangjun Jiang 2021년 1월 4일
Simulink Data Dictionary (SLDD) has this capability. In fact, when you migrate base workspace to a .sldd file, it only migrates the used variables. You can convert back and forth. It will give you a clean set of data.
  댓글 수: 2
Dharaneedharan Arumugam
Dharaneedharan Arumugam 2021년 3월 26일
Thanks for the guidance, is the sled require any extra tool box?
Jonas
Jonas 2021년 3월 26일
No, it is part of Simulink. I highly recommend Data Dictionaries as well.

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Data Types에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by