What is the process for building DLL's from Real-time Workshop as 64-bit rather than 32-bit?

We are in the process of converting an application that uses Matlab models built using Real-Time Workshop. Our application is moving to 64-bit, and we need to know what process the user needs to follow to convert their 32-bit RTW DLL's to 64-bit. Does this require 64-bit Matlab, or can this be done with a 32-bit Matlab version?
Thank you in advance for any insight you can provide.

 Accepted Answer

The most reliable way is to get 64-bit MATLAB and build your models again - the reason you can't simply compile the code generated for 32-bit is because your code may need to link against MathWorks libraries, and 32-bit MATLAB only ships with 32-bit versions of these libraries.

1 Comment

Thank you. This is what we suspected and are currently looking into getting a 64-bit version. I appreciate your input.

Sign in to comment.

More Answers (0)

Categories

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!