Install both 32bit and 64bit versions of Matlab on Windows 7

287 views (last 30 days)
Hello,
I am currently using a 64bit installation of 2010a on Windows 7. There are some incompatibility issues with the 64bit version for another program i am using and so need to use the 32bit version of Matlab. Is it possible to install the 32bit and 64bit versions on the same machine for either 2010a or 2010b or will i just have to remove the 64bit version?
Also, i read somewhere that when installing the 32bit version it shouldn't be placed in the 'Program Files (x86)' folder as it doesn't like special characters. Is this correct?
Many thanks,
Michael

Accepted Answer

Arnaud Miege
Arnaud Miege on 13 Apr 2011
Yes, it is possible. I have both the 32-bit and 64-bit installation of MATLAB on my machine, running Windows 7 64-bit. And yes, I would highly recommend installing the 32-bit in a different directory (I believe the problem is with the parentheses in the path). My 32-bit MATLAB is installed in C:\MATLAB_32bit.
To launch the 32-bit installer, you need to navigate on your installation DVD to bin\win32 and run the setup.exe file in there.
If you have both a 32-bit and 64-bit installation of MATLAB on the same machine, be aware that they share the same preference directory. This means, amongst other things, that when you switch from using one to using the other, you need to run mex -setup to set up the correct compiler (32-bit vs. 64-bit).
HTH,
Arnaud
  6 Comments
Gilles Desvilles
Gilles Desvilles on 4 Mar 2019
It is an old thread but nothing venture nothing have:
I have installed 2015a 64 bit on a PC with Seven 64 bit and it works, 2015a 32 bit on a laptop with Seven 32 bit and it works, both 2015a come from the same package (same date, version, license number).
When I install 2015a 32 bit on the PC 64 bit, using an install directory named C:\Matlab_32bit, then click on matlab.exe located in the bin directory of Matlab_32bit, the program starts, tells 32bit is opening, there is hope, but ends up closing without notice. When I click again then it starts and closes immédiatly, not telling it is opening anymore.
This happens whether I have launched 2015a 64 bit before or not, and every time I try.
It's not for mere fun that I wish to have both 32 and 64bit working on my PC but because Matlab does not connect with another software except in 32 bit, whereas it is supposed to support it in 64bit. Exhausting issue ...
Any advice to get around it ?
Thanx
Gilles Desvilles
Gilles Desvilles on 4 Mar 2019
Actually I found just after the previous post the way to run both together: I renamed the 2015a directory located in the Appdata/roaming/mathworks/matlab following below
Hence I will have two such directories, one for 2015a 64bit and the other for 2015a 32bit, and switch one to the other manually, by renaming 2015a the selected one.

Sign in to comment.

More Answers (3)

Leif
Leif on 21 Nov 2011
FYI for anyone using the downloaded installers (not the DVD) --
If the 64-bit installer is located in the same directory as the 32-bit version, the 32-bit installer will install the 64-bit version instead.
To correct this, it is necessary to locate the 32-bit and 64-bit install files in separate folders; then the 32-bit installer will install the 32-bit version of MATLAB.

daniel
daniel on 27 Oct 2011
Thanks Arnaud,
worked great.

Otabek Abdurasulov
Otabek Abdurasulov on 6 Oct 2021

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!