LINK : fatal error LNK1104: cannot open file 'mexw32'

33 views (last 30 days)
Hello Everyone, I'm facing a problem while running mex .The mex command is giving following error.
LINK : fatal error LNK1104: cannot open file 'mesh.mexw32'
C:\PROGRA~1\MATLAB\R2010A\BIN\MEX.PL: Error: Link of 'mesh.mexw32' failed.
I tried deleting "mesh.mexw32" but not able to do so. It says "You need permission to perform this action." I was debugging the code in VS. Thanks in advance.

Accepted Answer

Jan
Jan on 12 Jun 2012
Close all programs, which have access to the file, e.g. the compiler and Matlab. Does deleting work now? If not, log-off. If you still cannot delete the file, restart the machine.
  5 Comments
Walter Roberson
Walter Roberson on 22 Jul 2012
Amit, please do not "flag" messages except to report them to the Editors as being inappropriate for the forum. When you "flag" a message that someone else has written, they are not notified.
Amit Kalhapure
Amit Kalhapure on 15 Aug 2012
Ok, I didn't know what the flag is meant for. Thanks for the info.

Sign in to comment.

More Answers (0)

Categories

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