Matlab DLL 32/64 bit

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 日

0 投票

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.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeMATLAB Compiler についてさらに検索

質問済み:

2017 年 6 月 22 日

コメント済み:

2017 年 6 月 26 日

Community Treasure Hunt

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

Start Hunting!

Translated by