Matlab DLL 32/64 bit

조회 수: 5 (최근 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