deploytool matlab x32 on windows x64
1 view (last 30 days)
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?
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 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.