Simulink Out of memory. Simulation stops

7 Ansichten (letzte 30 Tage)
Apurv
Apurv am 4 Mai 2015
Beantwortet: Steve Miller am 3 Aug. 2020
Hallo, I am simulating a complete hybrid car Simulink model with various components which are built using Simscape, Símulink, Driveline etc. I am loading data into the workspace before starting my simulation which is around 1.2MB. The simulation runs for more than 3 hours and accumalates data work 100MB max which is the data stored in scopes and to workspace blocks. This data is important. However the simulation fails at a certain point coz of the error 'Matlab is out of memory'. What does this error mean? Is the Workspace RAM out of nmemory? I have a RAM memory of 4GB in my Computer. How do I overcome this problem?

Antworten (1)

Steve Miller
Steve Miller am 3 Aug. 2020
You can refer to this answer for some suggestions:
Generally, you need to reduce the amount you are logging (there are many ways to turn logging off for various blocks or to sample fewer points) or increase the memory available. Depending on your release, you may be able to stream directly to disk.

Kategorien

Mehr zu Simscape Driveline finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by