how I change the setting of matlab?
Show older comments
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
Answers (3)
Jason Ross
on 13 Feb 2013
Edited: Jason Ross
on 13 Feb 2013
0 votes
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
on 13 Feb 2013
0 votes
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
on 13 Feb 2013
0 votes
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 Comments
huda nawaf
on 15 Feb 2013
José-Luis
on 15 Feb 2013
Please accept an answer if it helped you.
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!