deploytool matlab x32 on windows x64

2 次查看(过去 30 天)
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.

请先登录,再进行评论。

类别

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