Make 32 and 64 bit executable?
Show older comments
Hello!
I have a script that makes an executable for an application. We used to just create a 64bit executable, but now we want a 32bit executable as well. I installed the 32bit MATLAB, but now whenever I create the 64bit executable it crashes right after starting (Windows', "x.exe has stopped working" error).
I have tried changing the compiler, but it has not had an effect.
How can I fix this?
Thanks!
Accepted Answer
More Answers (1)
hana
on 11 Jul 2012
0 votes
you have to compile the 32bit executable on a 32bit machine and the 64bit one on a 64.
2 Comments
Image Analyst
on 11 Jul 2012
Not true.
Walter Roberson
on 14 Jul 2012
Image Analyst is correct: compiling for 32 bit machines on a 64 bit machine has been officially supported for a couple of releases, and technical solutions were made public for how to do it for a couple of releases before that.
Categories
Find more on C Shared Library Integration 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!