How to run .mexw64 file in ubuntu 14.04

12 visualizaciones (últimos 30 días)
Dong gun Lee
Dong gun Lee el 17 de Nov. de 2015
Comentada: jm gao el 6 de Ag. de 2018
My program uses .mexw64 file in its process with adding the .mexw64 file path. When I run my program in Windows PC, it runs well. However, on the linux PC (ubuntu 14.04), it gives me error that 'undefined function or variable' with same code.
Is there any way to solve this? I check the gcc version. it was 4.8.4

Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Nov. de 2015
Editada: Walter Roberson el 17 de Nov. de 2015
.mexw64 is a Windows x64 DLL. To use it on Ubuntu you would need to be running the 64 bit MS Windows version of MATLAB under a Windows emulator such as Wine.
If the source code is available it would be better to rebuild the DLL for use with Linux.
  2 comentarios
Dong gun Lee
Dong gun Lee el 30 de Nov. de 2015
Thank you a lot! I solved with your answer.
jm gao
jm gao el 6 de Ag. de 2018
How to fixed this... Thank you very much.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

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

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by