How to run .mexw64 file in ubuntu 14.04

12 visualizzazioni (ultimi 30 giorni)
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

Risposta accettata

Walter Roberson
Walter Roberson il 17 Nov 2015
Modificato: Walter Roberson il 17 Nov 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 Commenti
Dong gun Lee
Dong gun Lee il 30 Nov 2015
Thank you a lot! I solved with your answer.
jm gao
jm gao il 6 Ago 2018
How to fixed this... Thank you very much.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su MATLAB Compiler in Help Center e File Exchange

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by