Deploy for windows 32-bit from a 64-bit computer
36 views (last 30 days)
I am deploying a small application. I am creating the installation file from a Windows 64-but computer.
When the user tries to install the program on a 32-bit computer it gives an error messages about wrong processor type. How can I create a 32-bit installation package? I don't have access to a 32-bit computer.
Kaustubha Govind on 4 Apr 2011
As of R2010b, it is possible to compile 32-bit Windows applications using MATLAB on a 64-bit machine. See the -win32 option on the mcc documentation page. Note that you also need to install 32-bit MATLAB.
Even if you are using an older version, you could try getting 32-bit version of MATLAB on your 64-bit machine and compile using that. Although this was not officially supported, several users have been able to have this working in the past.
More Answers (4)
Jiro Doke on 3 Apr 2011
If you don't have access to a 32-bit computer, that's a problem. You need to run through the deployment process on the same platform as your end user's machine.
hans on 4 Apr 2011
You can use "Windows Virtual PC". It generates a 32bit Windows XP environment and you can run any 32 bit applications in it. So if you also are have a 32 bit MATLAB version you can generate and try 32bit MATLAB programs on a 64bit Windows system.