Matlab 64-Bit vs. Matlab 32-Bit: G.Tec Medical Engineering Gmbh/Guger Technologies Og, Graz, Austria
Matlab 64-Bit vs. Matlab 32-Bit: G.Tec Medical Engineering Gmbh/Guger Technologies Og, Graz, Austria
Matlab 32-bit
g.tec medical engineering GmbH/Guger Technologies OG, Graz, Austria
1 Introduction
This brief document summarizes the advantages of using a MATLAB
32-bit version in general. The document also refers to the official support homepage of
MathWorks
.
2 General aspects
Generally 64-bit addressing allows for much larger memory. As explained in our Memory
Management Guide technical note (http://www.mathworks.com/support/tech-notes/1100/1106.html),
memory on a 32-bit machine is limited to 2
32
bytes (i.e. 4GB):
On a 64-bit machine this number is increased to 2
64
(i.e. an increase by a factor of 4 billion). Of course,
most machines in use today will run out of physical resources (RAM and virtual memory) long before
they begin to approach the theoretical 2
64
-byte limit.
There is an internal limit of 2
31
elements per array in MATLAB. Up to MATLAB 7.2 (R2006a) this
limit applies regardless of the platform. A 2
31
element double array would require 16 GB of space, thus
making it impossible to create such an array on a 32-bit machine. A 64-bit machine can theoretically
handle many arrays of this size, provided that there is enough RAM and hard disk space to store all the
data.
Beginning with MATLAB 7.3 (R2006b), the largest array that can be created can contain 2
48
-1 =
2.8147e14 elements.
Remark: Note that changing from 32-bit to 64-bit MATLAB only allows for the creation and
manipulation of larger variables but does not imply a boost in execution speed.
Page 2 of 4
3 MATLAB
Core
TM
2 Quad CPU Q9500 2.83GHz
o RAM: 8.00GB (usable @32-bit version: 3.44GB)
o OS: Windows7 Professional 32-bit
o MATLAB
Core
TM
2 Quad CPU Q9500 2.83GHz
o RAM: 8.00GB (usable @64-bit version: 7.87GB)
o OS: Windows7 Professional 64-bit
o MATLAB