Out of Memory Error

12 次查看(过去 30 天)
I am constantly running into "OUT OF MEMORY ERROR" while running my Simscape model. Does anyone know how to bypass this / I have eliminated all the scopes and and I am sending the data to my workspace.

采纳的回答

Vishal Chaudhary
Vishal Chaudhary 2018-8-13
Try, doing following things to see if it works:
1. Turn off the Workspace I/O (to do that, in the Simulink model go to Simulation=>Parameters=> Data Import/Export and uncheck the time and output boxes).
2. Increase the step size of the simulation
3. Reduce the length of the simulation
4. Increase the virtual memory of your computer (system swap space).
If the error still exists, share the exact error or if possible share the model which generates the error.
Also, check if your system is really out of memory by running task manager.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Variable Initialization 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by