"Larry" <larry.j.buescher.nospam@gm.com> wrote in message <kg0kav$b1h$1@newscl01ah.mathworks.com>...
> 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.
Mike Nistor from Mathworks Technical Support was able to help resolve this. It appears to be due to interference from anti-virus software. Although I am not able to disable the anti-virus, we were able to switch the target directory to removable media which is not as closely watched by the anti-virus. kudos to Mike for all his help. I hope this posting helps others.
> 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.
Mike Nistor from Mathworks Technical Support was able to help resolve this. It appears to be due to interference from anti-virus software. Although I am not able to disable the anti-virus, we were able to switch the target directory to removable media which is not as closely watched by the anti-virus. kudos to Mike for all his help. I hope this posting helps others.