Simulink Out of memory. Simulation stops
6 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Steve Miller
2020-8-3
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Simscape Driveline 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!