Simulink rapid accelerator slowly filling HD

3 ビュー (過去 30 日間)
Giorgio
Giorgio 2018 年 11 月 6 日
回答済み: Tejas 2024 年 10 月 21 日
I am running an optimisation problem which requires to run a Simulink model several times to find the minimum of the cost function. The Simulink model is set up in rapid accelerator mode and run in parallel on different cores. The problem is that Matlab is slowly filling the hard drive with temporary files (.dmr files in ..AppData\Local\Temp). Is there any way I can avoid Matlab from building up these massive files?
  1 件のコメント
Matthew Rademacher
Matthew Rademacher 2023 年 8 月 11 日
I have the same issue!

サインインしてコメントする。

回答 (1 件)

Tejas
Tejas 2024 年 10 月 21 日
Hello Giorgio,
To prevent the creation of large .DMR files, consider using the Simulation Data Inspector settings to set global limits on the amount of data saved. This approach helps in preventing temporary files from using up all the disk space. For more details, refer to this MATLAB answer: https://www.mathworks.com/matlabcentral/answers/1901545-how-to-manage-simulink-s-generation-of-dmr-files-in-the-temp-directory .
Alternatively, if the Simulink model is run multiple times using a 'for' loop, the following command can be used after each iteration to clear temporary files. More information on this command can be found in the documentation: https://www.mathworks.com/help/simulink/slref/simulink.sdi.clear.html .
Simulink.sdi.clear

カテゴリ

Help Center および File ExchangeVerification, Validation, and Test についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by