Effacer les filtres
Effacer les filtres

Improving Simulink/Simscape performance

1 vue (au cours des 30 derniers jours)
Benjamin Alvarez
Benjamin Alvarez le 18 Mai 2015
Hello,
I am working with huge simscape models and start to experience memory trouble. I am working with Windows 7 32bits version and a 4GB RAM computer.
I would like to know best things to do in priority :
- change for a 64 bits computer, Windows, Matlab
- increase RAM
Thanks for your help,
Benjamin

Réponse acceptée

Walter Roberson
Walter Roberson le 18 Mai 2015
If the error is "object too big" then your first priority is to switch to a 64 bit version.
If the error is "out of memory" then your first priority is to set the /3GB flag in your boot.ini
If your /3GB boot.ini is already set, then you will need to switch to a 64 bit version.
If you run a 64 bit version of MATLAB on a system with 4 Gb, and use a lot of memory, then you are probably going to end up using swap space. This could make the simulation take a long time. But it would at least run. Because a simulation that finishes eventually is better than one that doesn't run at all.
You'd be better off going 64 Gb and getting more memory.
  1 commentaire
Benjamin Alvarez
Benjamin Alvarez le 18 Mai 2015
Perfect, thanks for your fast and precise answer Walter !

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Run-Time Parameters dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by