Thread Subject: unable to convert from m-file to .exe file

Subject: unable to convert from m-file to .exe file

From: jothi

Date: 10 Feb, 2012 20:04:12

Message: 1 of 3

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.

Subject: unable to convert from m-file to .exe file

From: jothi

Date: 11 Feb, 2012 20:50:27

Message: 2 of 3

"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.
>
> >> 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.


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.

Subject: unable to convert from m-file to .exe file

From: Steven_Lord

Date: 13 Feb, 2012 15:06:45

Message: 3 of 3



"jothi " <jothilincon@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
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com