Clear Filters
Clear Filters

There was a problem writing the Simulink cache. This can be caused if there is not enough free space on the file system.

35 views (last 30 days)
Hello,
I'm getting the following problem:
There was a problem writing the Simulink cache /Users/Macitosh/H.W/Universita/Magistrale/Tesi/Project/BatteryIdentification.slxc. This can be caused if there is not enough free space on the file system.
I have 94.26 GB available on my machine, therefore I doubt there's a lack of free space. Do you know what other problem it could be?
I'm running 2019a.
Thanks in advance.

Answers (1)

Andresa Sombra
Andresa Sombra on 5 Sep 2019
Edited: Andresa Sombra on 5 Sep 2019
I've had the same problem recently. I tried to clear the computer's' cache memory and even reinstalled MATLAB. Nothing solved. I realized that the problem happened when I used the simulink's accelerator mode.
I had recently exported this .slx file to an earlier version of MATLAB. When I deleted the file from the previous version, the simulation started working normally.
If this doesn't solve your problem, check the amount of data being saved after the simulation, as well as the amount of unnecessary scopes. This can also be a problem.

Products

Community Treasure Hunt

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

Start Hunting!