Invalid MEX-file '\\Client\​C$\Users\e​pappaia\Do​cuments\Sp​eranza\ypr​ime.mexw64​': Access is denied.

2 views (last 30 days)
Hi, I'm working with MATLAB R2015b and I'm having some problem with a MEX file that was built in a previous version of Matlab. I rebuilt it (from the original cpp function) in the new MATLAB version; But when I try to use the function I get this: Invalid MEX-file '\\Client\C$\Users\epappaia\Documents\Speranza\yprime.mexw64': Access is denied.
Can someone help me understad why?
thanks Speranza.

Accepted Answer

ashish ahir
ashish ahir on 24 May 2016
you can try this: Could your MEX-File require another .DLL, and it is that DLL that cannot be found? Use a tool like Dependency Walker to display the functions available inside the MEX-File ("mexFunction" at a minimum should be there), and anything it may depend on. Anything in red may not be visible to MATLAB.
  1 Comment
Speranza Sannino
Speranza Sannino on 24 May 2016
Thank you. At the end, my problem was that I was using a MATLAB version available online, given by the Univerisity, and I couldn't add the .dll missing. So now I'm using another MATLAB version.
thanks, Speranza.

Sign in to comment.

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing 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!