Borrar filtros
Borrar filtros

Open Simulink DMR file from prior session

15 visualizaciones (últimos 30 días)
Martin Ryba
Martin Ryba el 30 de Oct. de 2023
Respondida: Ayush el 5 de En. de 2024
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?

Respuestas (1)

Ayush
Ayush el 5 de En. de 2024
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

Categorías

Más información sobre Analyze Simulation Results en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by