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?

 채택된 답변

MathWorks Support Team
MathWorks Support Team 2019년 5월 16일
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

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

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

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by