deploytool matlab x32 on windows x64

2 views (last 30 days)
Dominika
Dominika on 30 Jun 2014
Commented: Image Analyst on 1 Jul 2014
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

Answers (3)

BSantos
BSantos on 30 Jun 2014
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 on 30 Jun 2014
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 on 30 Jun 2014
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 Comments
Dominika
Dominika on 1 Jul 2014
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 on 1 Jul 2014
I'm glad they confirmed my answer.

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!