Matlab DLL 32/64 bit

4 次查看(过去 30 天)
Tina
Tina 2017-6-22
评论: Tina 2017-6-26
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?

回答(1 个)

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

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by