Can you have both 32 bit and 64 bit MATLAB installed?
이전 댓글 표시
Hi,
I would like to have both 32 bit and 64 bit MATLAB installed on my Windows machine.
Some of my code require mex and I only have a 32 bit Fortran compiler hence the need to have 32 bit MATLAB. However, my machine has 12 gb of RAM and I would like to utilize it for my other code.
Is it possible to have both installed on my machine?
채택된 답변
추가 답변 (2개)
Han Geerligs
2012년 2월 29일
Hi all,
I just received a solution from TMW:
A workaround would be to create a startup.m file in which you set the compiler automatically. The code in that startup.m file can look like this:
if strcmp(mexext,'mexw64')
mex('-setup:msvc100free');
else
mex('-setup:lcc');
end
In that way, at MATLAB startup it is checked if it’s the 32bit MATLAB or 64bit MATLAB and the compiler is selected automatically in the background. So no user interaction is needed.
In addition, I will create an enhancement request for that feature.
댓글 수: 1
Kaustubha Govind
2012년 2월 29일
Great! Thanks for posting this, Han!
James Tursa
2011년 4월 29일
0 개 추천
Yes, I believe so based on comments posted on the newsgroup by others. I don't currently have this setup myself.
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!