how I change the setting of matlab?

1 次查看(过去 30 天)
huda nawaf
huda nawaf 2013-2-13
hello, I installed matlab in computer with 6 GigaB of Ram , but when I run my code I got error message, OUT OF MEMORY. I ran the same code in computer with 4 GigaB of Ram, I don't know where is the problem.
must change the setting of MATLAB? if so, how?
Thanks in advance

回答(3 个)

Jason Ross
Jason Ross 2013-2-13
编辑:Jason Ross 2013-2-13
Just to be sure -- is the machine with 6 GB RAM a 64-bit operating system? Did you install a 64-bit MATLAB?
(It's possible that a 32-bit system can see more than ~4 GB RAM with PAE on, although generally the maximum RAM limit for a process remains the same)
The general answer is that there is not a setting in MATLAB that limits the amount of RAM that is able to be addressed.

Jan
Jan 2013-2-13
Obviously your 4GB machine has more available memory than the 6GB machine. Either the 6GB machine runs a 32 bit system, while the smaller one runs 64 bit, or on the larger machine other programs occupy more memory, or the smaller machine uses more virtual memory, etc. But as long as the same Matlab version is installed on both machines, this is not a problem of Matlab.

Walter Roberson
Walter Roberson 2013-2-13
Huda, you are using the Student Version of MATLAB if I recall. If so then you are limited to the 32 bit version under MS Windows and under Linux (but I think the OS-X student version is 64 bit.)
  2 个评论
huda nawaf
huda nawaf 2013-2-15
thanks for notes, I checked my machine, the reason is the 32 bit of windows , not 64 bit. when I installed 64 bit , the problem is resolved.
thanks
José-Luis
José-Luis 2013-2-15
Please accept an answer if it helped you.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by