deploytool matlab x32 on windows x64

조회 수: 3 (최근 30일)
Dominika
Dominika 2014년 6월 30일
댓글: Image Analyst 2014년 7월 1일
Hi,
I want to compile my files in matlab x32 on windows x64 so that the .exe can run on windows x32. I'm using matlab r2013b. I found out that I need:
You have a 32-bit installation of MATLAB.
You use the same MATLAB installation root (matlabroot) for both 32-bit and 64-bit versions of MATLAB.
You are running from a Windows command line.
I tried installing 32-bit matlab on the same installation path as my 64-bit but it does not allow me to put it in the same path giving an error
You are attempting to install 32-bit MATLAB in the same folder as a 64-bit MATLAB installation. This is unsupported. You must choose a different folder.
How can I solve the problem?
Thanks,
Dominika

답변 (3개)

BSantos
BSantos 2014년 6월 30일
I had the same issue as you, some time ago. What I did was, first remove MATLAB 64-bit and then instal 32-bit. You can't have the two different versions installed under the same folder.
Hope this helps! Good luck.

Image Analyst
Image Analyst 2014년 6월 30일
That's not what that message means. On your computer, just install both versions with the normal default installation options. The 64 bit will go into the Program Files folder and the 32 bit version will go into the Program Files (x86) folder. Then just run them as normal. Make sure you're running the 32 bit version when you want to compile a version for your 32 bit target computers and have deployed the 32 bit version of the MCRInstaller to them along with your application.

Dominika
Dominika 2014년 6월 30일
Thank you very much for the answers.
Does it mean that I just need to use deplotool in the same way as in case of matlab x64, running it from command line in Matlab?
What about this line:
You are running from a Windows command line. ?
  댓글 수: 2
Dominika
Dominika 2014년 7월 1일
Just in case someone still has a problem with this..
I got the reply from Technical Support.
Both MATLABs can have different installation root. I simply used the same process with deploytool running Matlab x32. I checked and my application works fine on Windows x32.
Image Analyst
Image Analyst 2014년 7월 1일
I'm glad they confirmed my answer.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by