How do I create 32-bit Windows applications using MATLAB Compiler or MATLAB Compiler SDK?
조회 수: 27 (최근 30일)
이전 댓글 표시
MathWorks Support Team
2015년 5월 21일
편집: MathWorks Support Team
2021년 6월 4일
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?
채택된 답변
MathWorks Support Team
2021년 6월 4일
편집: MathWorks Support Team
2021년 6월 4일
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
Chetan Rawal
2015년 8월 10일
편집: Chetan Rawal
2015년 8월 10일
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.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!