32 bit exe compilation using matlab 64 installed

5 views (last 30 days)
I have Matalb R2014B and have developed a GUI based application, while compiling the exe using deploytool & application Compiler (to compile 32 bit executable), help me to locate the settings for selecting 32 bit as o/p executable.
Regards, Pratap

Answers (1)

Thomas Koelen
Thomas Koelen on 18 May 2015
Edited: Thomas Koelen on 18 May 2015
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.
  3 Comments
Darcy Cordell
Darcy Cordell on 20 Jul 2017
Is this no longer an option?
The mcc documentation page no longer contains anything about -win32 and when I run mcc I get the error: "-win32" is invalid when executed from within MATLAB on "win64"
I am running MATLAB 2016a
Walter Roberson
Walter Roberson on 20 Jul 2017
R2015b was the last version that supported 32 bit compilation.

Sign in to comment.

Categories

Find more on MATLAB Compiler 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!