Clear Filters
Clear Filters

How to run .mexw64 file in ubuntu 14.04

15 views (last 30 days)
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

Accepted Answer

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

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!