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

21 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

Fangjun Jiang
Fangjun Jiang el 4 de En. de 2021
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 comentarios
Dharaneedharan Arumugam
Dharaneedharan Arumugam el 26 de Mzo. de 2021
Thanks for the guidance, is the sled require any extra tool box?
Jonas
Jonas el 26 de Mzo. de 2021
No, it is part of Simulink. I highly recommend Data Dictionaries as well.

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by