Is it possible to automatically modify the MATLAB coder generated BAT-file so that it generates 32bit lib/exe
Show older comments
I am using MATLAB R2015b coder. I am developing on 64-bit windows, but would like to generate 32-bit lib/exe.
By default, the generated code is for 64-bit platforms and the BAT-file contains the following line:
call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" AMD64
If I edit this line to
call "%VS100COMNTOOLS%..\..\VC\vcvarsall.bat" x86
And then manually execute the BAT-file, I can get a compiled code for my 32-bit target. Is there a way to do this automatically during code generation itself, so I don't have to manually edit it later?
Answers (1)
Walter Roberson
on 25 Nov 2015
0 votes
1 Comment
Neerad Phansalkar
on 25 Nov 2015
Categories
Find more on MATLAB Coder 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!