Simulation Data Inspector Unnecessarily Archives Data and Overloads Filesystem

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?

 Akzeptierte Antwort

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:

2 Kommentare

I am also interested in this. @MathworksSupportTeam, is there anything that can be done in older versions please?
Is there solution for older versions?

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Simulink finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by