Simulation Data Inspector Unnecessarily Archives Data and Overloads Filesystem

93 views (last 30 days)
The Simulation Data Inspector (SDI) is creating large temporary archive files which are not used. All SDI logging options are disabled in the model Configuration Parameters graphical-user-interface. However, the SDI still seems to be creating these temporary archive files to log my outputs during simulation. For prolonged simulations these very large temporary files generated by the SDI can overload my hard drive and crash my MATLAB.
How do I disable this SDI auto archive mechanism?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 May 2019
There are two functions to configure or disable entirely the Simulink Data Inspector auto archive mechanism. The first function "Simulink.sdi.setArchiveRunLimit" can allow users to either set a new limit or disable any archiving. Documentation for the "Simulink.sdi.setArchiveRunLimit" function can be found below in the link below:
Alternatively, the "Simulink.sdi.setAutoArchiveMode" function can be used disable archiving without adjusting the currently set limit. Documentation for the "Simulink.sdi.setAutoArchiveMode" function can be found below in the link below:
  9 Comments

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!