Improving Simulink/Simscape performance

1 回表示 (過去 30 日間)
Benjamin Alvarez
Benjamin Alvarez 2015 年 5 月 18 日
コメント済み: Benjamin Alvarez 2015 年 5 月 18 日
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

採用された回答

Walter Roberson
Walter Roberson 2015 年 5 月 18 日
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 件のコメント
Benjamin Alvarez
Benjamin Alvarez 2015 年 5 月 18 日
Perfect, thanks for your fast and precise answer Walter !

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeRun-Time Parameters についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by