How do I create 32-bit Windows applications using MATLAB Compiler or MATLAB Compiler SDK?
36 views (last 30 days)
Show older comments
MathWorks Support Team
on 21 May 2015
Edited: MathWorks Support Team
on 4 Jun 2021
I am on 64-bit MATLAB R2016a on Windows platform. How do I create 32-bit applications, components, and libraries using MATLAB Compiler or MATLAB Compiler SDK?
Accepted Answer
MathWorks Support Team
on 4 Jun 2021
Edited: MathWorks Support Team
on 4 Jun 2021
Starting in R2016a, applications, components, and libraries created by MATLAB Compiler or MATLAB Compiler SDK will not run in 32-bit mode. The exception is add-ins for 32-bit Excel, which are configured to run on a 64-bit MATLAB Runtime. Please read the following for more details:
MATLAB Compiler
* As of R2016a, 32-bit standalone applications for Windows will no longer be supported. You will be able to create and share 64-bit standalone applications only. However, you can continue to use the R2015b (or earlier) 32-bit version of MATLAB Compiler to deploy to 32-bit Windows.
* Using 64-bit MATLAB Compiler on Windows, you will be able to create add-ins that work with 32- or 64-bit Excel running on 64-bit Windows. This feature will be introduced in MATLAB Compiler R2015b.
MATLAB Compiler SDK
* As of R2016a, you will no longer be able to create 32-bit C/C++ shared libraries, Microsoft® .NET assemblies, COM components, or Java® classes. Please update your applications so you can use 64-bit components for integration. A 32-bit application cannot use 64-bit libraries. If you require 32-bit compatibility, you are advised to use R2015b (or earlier) 32-bit MATLAB.
* For MATLAB Production Server clients:
- Java, Python, and .NET clients will not be affected, since they are platform independent.
- 32-bit C/C++ clients for MATLAB Production Server will no longer be available. Please update your C/C++ applications to use 64-bit clients.
2 Comments
Chetan Rawal
on 10 Aug 2015
Edited: Chetan Rawal
on 10 Aug 2015
The solution will only allow Excel add-ins to be used in 32-bit Excel from 64-bit MATLAB Compiler. All other targets (including Java) will require you to compile to 64-bit components on Windows.
More Answers (0)
See Also
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!