This change has been incorporated into the documentation in Release 2011a (R2011a). For previous releases, read below for any additional information:
This enhancement has been incorporated in Release 2010b (R2010b). For previous product releases, read below for any possible workarounds:
As of R2010b, it is now a supported workflow to create a 32-bit application using a 32-bit installation of MATLAB and the MATLAB Compiler on a 64-bit system. Please see the documentation page of MCC and DEPLOYTOOL for more details.
However, starting in R2016a, applications, components, and libraries created by MATLAB Compiler or MATLAB Compiler SDK will not run in 32-bit mode. For further information, please refer to the following URL.
For R2010a and previous releases, it is not possible to compile a 32-bit application on a 64-bit machine using MATLAB Compiler. The underlying architecture is checked during the build process by the MBUILD command and an error should be thrown if the development (underlying) and the target architectures are different. This is true even if 32-bit version of the MATLAB Compiler is used on the 64-bit machine.
There are no workarounds.