MATLAB: What is the process for building DLL’s from Real-time Workshop as 64-bit rather than 32-bit

32-bit64-bitconvertdllreal time workshopsimulink coder

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.

Best 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.