Simulink slows down significantly after +/- 150 simulations on Linux. This problem does not happen on Windows
1 次查看(过去 30 天)
显示 更早的评论
I have a simulation which I need to run in a for loop (for optimization purposes). On Windows this works fine, however, if I switch to a linux system, runtime of the simulation increases a lot after about 150 runs. Does anyone have a solutions?
0 个评论
回答(1 个)
Michelle Wu
2017-1-30
By saying you have a simulation in a for loop, I am assuming that you are using Simulink together with MATLAB.
There are many possible causes which could impact simulation speed, but generally speaking the speed is governed by the system (i.e., processor, RAM, amount of swapping that is occurring, etc.) A few things to consider with regard to simulation speed include graphics engine speed, CPU speed, and amount of memory. Thus, it could be that your Linux machine has less computing power or less memory than your Windows machine, which is causing the slow simulation.
Please also refer to the following MATLAB Answers post for some tips and tricks on how to speed up simulations:
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!