Clear Filters
Clear Filters

Matlab2020a Stores DMR files to C: drive

8 views (last 30 days)
Paul Mitchell
Paul Mitchell on 11 Jun 2021
Commented: Paul Mitchell on 9 May 2022
Good Evening,
The workstaions I run the model on have lots of RAM and no spare (well < 30GB) C: drive capacity. Does an option exist which allows Matlab to store DRM in memory (workspace) rather than on the C: drive ?
or
Has an option to do this been added to a later version of Matlab ?
Thank You
  5 Comments
Jan
Jan on 9 May 2022
@Paul Mitchell: Is moving the TEMP folder to another drive an option? Maybe:
@ECHO off
REM File: Matlab_TempD.bat
set "TMP=D:\Temp"
start "" matlab
exit
Now tempdir replies 'D:\Temp\' and maybe the DMR files (what ever this is) are stored there.
Paul Mitchell
Paul Mitchell on 9 May 2022
Hi Jan, I am running on a HPC system. Currently the data is written the Node C: drive [but filling this drive] - I have a shabby method of systematically running a Robocopy script which mirrors (/MIR) the Temp directory on the C: drive with an empty directory - thus clearing it out. Not ideal but it gets me around the problem it’s just tedious having to remember to keep running the script.
The alternative is to write it to the HPC storage array (as per your suggestion) which I have tried but here problems arise because of not only me but also many other people accessing the storage array at once - causing random model failures.
The DMR files are files associated with the Simulink Data Inspector - which can get quite large (>4GB) which Maltab does not appear to handle there removal very well - retaining hundered of these files soon fills the Node C: drive.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!