64bit MATLAB looking for a 32bit mex file

29 views (last 30 days)
Hi,
I have 64-bit MATLAB 2015B running on a 64-bit Windows PC. In my code I am trying to access a 64-bit mex file. I am getting the following error - Invalid MEX-file 'C:\....\****.mexw64': C:\....\****.mexw64 is not a valid Win32 application.
Can you please help me understand why is this happening ?

Answers (1)

Harsha Priya Daggubati
Harsha Priya Daggubati on 26 Dec 2019
Edited: Harsha Priya Daggubati on 26 Dec 2019
Hi,
There is a similiar question asked in the community. Here is the link to the thread:
Hope this solves.
Also, check the following link for mex version compatibility:

Categories

Find more on Write C Functions Callable from MATLAB (MEX Files) in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!