Matlab DLL 32/64 bit

6 vues (au cours des 30 derniers jours)
Tina
Tina le 22 Juin 2017
Commenté : Tina le 26 Juin 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?

Réponses (1)

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

Connectez-vous pour commenter.

Catégories

En savoir plus sur C Shared Library Integration dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by