Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: mcc / deploytool "Error: Unable to open file"
Replies: 1   Last Post: Feb 20, 2013 3:34 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Larry

Posts: 8
Registered: 12/3/07
mcc / deploytool "Error: Unable to open file"
Posted: Feb 19, 2013 2:38 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Using Matlab compiler to generate executable

>> mcc -m adams_oc_hi_g.m
Error: Unable to open file ".\adams_oc_hi_g.exe": à՝{ ?{ ?{pÛ?{à՝{֝{?èt |?.
??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).

Since that did not work, tried deploytool . . . last message in build log:

--> mt.exe -outputresource:"C:\USERS\QZ8XTF\DOCUME~1\MATLAB\adams_oc_hi_g.exe";1 -manifest "C:\USERS\QZ8XTF\DOCUME~1\MATLAB\adams_oc_hi_g.msvc.manifest"
Microsoft (R) Manifest Tool version 5.2.3790.2075
Copyright (c) Microsoft Corporation 2005.
All rights reserved.
mt.exe : general error c101008d: Failed to write the updated manifest to the resource of file "C:\USERS\QZ8XTF\DOCUME~1\MATLAB\adams_oc_hi_g.exe". The process cannot access the file because it is being used by another process.
--> del "C:\USERS\QZ8XTF\DOCUME~1\MATLAB\adams_oc_hi_g.msvc.manifest"
Error: Unable to open file "C:\Users\QZ8XTF\Documents\MATLAB\adams_oc_hi_g.exe": àÕ?{ ?{ ?{pÛ?{àÕ?{Ö?{àst |?.

Any ideas what is wrong? I am able to compile other m files into executable.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.