Open Simulink DMR file from prior session

조회 수: 8 (최근 30일)
Martin Ryba
Martin Ryba 2023년 10월 30일
답변: Ayush 2024년 1월 5일
Hello, I was running a long simulation (24+ hours), and of course we had a power shutdown and things went boop. Is there any way in the Simulation Data Inspector to pull up data from a prior session? I see a 200+ MB DMR file in my temporary folder, so I know some of the logged data is sitting there. I just can't seem to get to it. Any tips/tricks?

답변 (1개)

Ayush
Ayush 2024년 1월 5일
Hi Martin,
I understand that you want to recover the data from a prior session using the “.DMR” file in the temporary folder.
These “. DMR” files are created by the SDI (Simulink Data Inspector) at 'C:\Users\username\AppData\Local\Temp\'. To get to the file path you can run the following command in MATLAB:
>> tempdir
>> Simulink.sdi.getSource %Return location for storing simulation data
Since, these files are stored in the backend for Simulink’s logging during the simulation and are automatically deleted once MATLAB closes, it is not intended or designed to be directly opened or accessed by the end user. And there is a high probability of the file being corrupted due to improper termination or crash.
You can also refer to the following MATLAB Answer which addresses the similar problem that you are facing:
Hope it helps,
Regards,
Ayush Misra

카테고리

Help CenterFile Exchange에서 Switches and Breakers에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by