Clear Filters
Clear Filters

Matlab DLL 32/64 bit

11 views (last 30 days)
Tina
Tina on 22 Jun 2017
Commented: Tina on 26 Jun 2017
I made a very simple Matlab function and generated a dll (.Net Assembly). I use Matlab R2016b and I downloaded Matlab Runtime for Matlab R2016b. Both are 64 bit. Yet, when I generate a dll using the Matlab Compiler, I get a 32 bit dll. What do I need to do to get a 64 bit dll? I didn't find anything to link Runtime to the Compiler. Is this necessary?

Answers (1)

Jan
Jan on 22 Jun 2017
Edited: Jan on 22 Jun 2017
Are you sure that your Matlab/64 creates a 32-bit DLL? How did you check this?
  2 Comments
Tina
Tina on 22 Jun 2017
I checked this with the Developer Command Prompt of Visual Studio --> dumpbin /headers myDll.dll
Tina
Tina on 26 Jun 2017
For some reason, the DLL is indicated as an 32-bit DLL but it seems to be a 64-bit DLL.

Sign in to comment.

Categories

Find more on MATLAB Compiler SDK in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!