Open Simulink DMR file from prior session
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuestas (1)
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
0 comentarios
Ver también
Categorías
Más información sobre Switches and Breakers en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!