Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

unable to convert from m-file to .exe file

35 views
Skip to first unread message

jothi

unread,
Feb 10, 2012, 3:04:12 PM2/10/12
to
hi matlab users,
I did a GUI and i am trying to convert it .exe. But it shows error.But other GUI are giving .exe output except this gui in same matlab machine.I am giving my code and error.

>> mcc -mv HF_Radar_Application.m
Compiler version: 4.15 (R2011a)
Processing C:\Program Files\MATLAB\R2011a\toolbox\matlab\mcc.enc
Processing C:\Program Files\MATLAB\R2011a\toolbox\images\mcc.enc
Processing D:\Dup_hf\HF_Radar_Application.fig
Processing C:\Program Files\MATLAB\R2011a\toolbox\shared\imageslib\mcc.enc
Processing C:\Program Files\MATLAB\R2011a\toolbox\matlab\guide\guideopts.fig
Processing C:\Program Files\MATLAB\R2011a\toolbox\matlab\winfun\actxcontrolselect.fig
Processing C:\Program Files\MATLAB\R2011a\toolbox\matlab\winfun\actxcontrolcreateproperty.fig
Processing include files...
2 item(s) added.
Processing directories installed with MCR...
The file mccExcludedFiles.log contains a list of functions excluded from the CTF archive.
2 item(s) added.
Generating MATLAB path for the compiled application...
Created 45 path items.
Begin validation of MEX files: Sat Feb 11 01:26:35 2012
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\compiler\componentinfo.mexw64'.
Found MATLAB file 'C:\Program Files\MATLAB\R2011a\toolbox\compiler\componentinfo.m'.
MEX file
'C:\Program Files\MATLAB\R2011a\toolbox\compiler\componentinfo.mexw64'
is valid. It contains 'mexFunction.'
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptformats\private\bitparse.mexw64'.
No conflicting MATLAB file found.
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptformats\private\dicom_decode_rle_segment.mexw64'.
No conflicting MATLAB file found.
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptformats\private\dicomlookup_helper.mexw64'.
No conflicting MATLAB file found.
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptformats\private\dicomparse.mexw64'.
No conflicting MATLAB file found.
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptformats\private\rnitfc.mexw64'.
No conflicting MATLAB file found.
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptformats\private\tobits.mexw64'.
No conflicting MATLAB file found.
Validating 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptutils\iptcheckinput.mexw64'.
Found MATLAB file 'C:\Program Files\MATLAB\R2011a\toolbox\images\iptutils\iptcheckinput.m'.
MEX file
'C:\Program Files\MATLAB\R2011a\toolbox\images\iptutils\iptcheckinput.mexw64'
is valid. It contains 'mexFunction.'
End validation of MEX files: Sat Feb 11 01:26:35 2012
Parsing file "D:\Dup_hf\HF_Radar_Application.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLAB\R2011a\toolbox\compiler\deploy\deployprint.m"
(Referenced from: "Compiler Command Line").
Parsing file "C:\Program Files\MATLAB\R2011a\toolbox\compiler\deploy\printdlg.m"
(Referenced from: "Compiler Command Line").
Deleting 8 temporary MEX authorization files.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_30477_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_21712_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_19069_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_1924_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_21878_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_32509_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_8446_3220.auth'.
Removing: 'C:\Users\user\AppData\Local\Temp\mathworks_tmp_3220_5422_3220.auth'.
Generating file "D:\Dup_hf\readme.txt".
Error: Unable to open file ".\HF_Radar_Application.exe": .

??? Error using ==> mcc
Error executing mcc, return status = 1 (0x1).


Please give me a solution.
Thanks in advance,
Regards,
Jo.

jothi

unread,
Feb 11, 2012, 3:50:27 PM2/11/12
to
"jothi" wrote in message <jh3t7s$ogu$1...@newscl01ah.mathworks.com>...
I saved the same file in some other directory and run it.I got the exe file of the m file.I don't know what is the prob in old directory.

Steven_Lord

unread,
Feb 13, 2012, 10:06:45 AM2/13/12
to


"jothi " <jothi...@gmail.com> wrote in message
news:jh6kaj$71d$1...@newscl01ah.mathworks.com...
> "jothi" wrote in message <jh3t7s$ogu$1...@newscl01ah.mathworks.com>...
>> hi matlab users,
>> I did a GUI and i am trying to convert it .exe. But it shows error.But
>> other GUI are giving .exe output except this gui in same matlab machine.I
>> am giving my code and error.

*snip*

>> Error: Unable to open file ".\HF_Radar_Application.exe": . ??? Error
>> using ==> mcc
>> Error executing mcc, return status = 1 (0x1).
>>
>>
>> Please give me a solution.
>> Thanks in advance,
>> Regards,
>> Jo.
>
>
> I saved the same file in some other directory and run it.I got the exe
> file of the m file.I don't know what is the prob in old directory.

My guess is that you don't have write permissions in the "old directory" but
you do in the "some other directory."

--
Steve Lord
sl...@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

0 new messages