Can Matlab Coder in 32-bit machine generate 64-bit DLL file?

5 visualizaciones (últimos 30 días)
Leonard Lee
Leonard Lee el 28 de Mayo de 2016
Respondida: Walter Roberson el 28 de Mayo de 2016
  • Hello everyone,I'm trying to convert Matlab code to C code using Matlab Coder, and I've successfully generated my DLL file.
  • Using the main.c which was generated by Matlab Coder, I've successfully code a C program which can call the DLL file and generated the results I wanted.
  • However, it just can work well on my 32-bit computer, and when it comes to 64-bit machine, the program used to call DLL file failed to compile successfully.
  • My question is: Can Matlab Coder in my 32-bit machine generate 64-bit DLL file which can be used in 64-bit computer? Or as you know, how can I solve the problem?
  • Thanks in advance!

Respuestas (1)

Walter Roberson
Walter Roberson el 28 de Mayo de 2016
No, that is not possible.
People using 64 bit MS Windows can specifically compile at 32 bits, but there is no way to compile on 32 bit MS Windows for 64 bit use (unless perhaps there is some GNU toolchain that can cross-compile.)

Categorías

Más información sobre MATLAB Coder en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by