64bit MATLAB looking for a 32bit mex file

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 ?

Categories

Asked:

on 21 Nov 2019

Community Treasure Hunt

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

Start Hunting!