Matlab2020a Stores DMR files to C: drive

20 次查看(过去 30 天)
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 个评论
Jan
Jan 2022-5-9
@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 2022-5-9
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.

请先登录,再进行评论。

回答(0 个)

产品


版本

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by