<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Advanced MATLAB: Compiling a GUI</title>
	<atom:link href="http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/</link>
	<description>&#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1093599&#38;objectType=author&#34;&#62;Brett&#60;/a&#62; &#38; &#60;a href=&#34;http://www.mathworks.com/matlabcentral/fileexchange/loadAuthor.do?objectId=1094142&#38;objectType=author&#34;&#62;Jiro&#60;/a&#62; share favorite user-contributed submissions from the File Exchange.</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:12:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Walid Al-Gherwi</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14395</link>
		<dc:creator>Walid Al-Gherwi</dc:creator>
		<pubDate>Wed, 11 Jan 2012 21:27:52 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14395</guid>
		<description>Hi Jiro,

I started using the MATLAB compiler recently but I am having a problem when I build the .exe files that it takes way too long to complete this task and I have same issue when I have to add the MCR using the package step. I tried to reduce the number of toolboxes in the path settings but it still takes the same time. I would really appreciate your help in this regards.

Thanks</description>
		<content:encoded><![CDATA[<p>Hi Jiro,</p>
<p>I started using the MATLAB compiler recently but I am having a problem when I build the .exe files that it takes way too long to complete this task and I have same issue when I have to add the MCR using the package step. I tried to reduce the number of toolboxes in the path settings but it still takes the same time. I would really appreciate your help in this regards.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Kyaw</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14336</link>
		<dc:creator>Kyaw</dc:creator>
		<pubDate>Thu, 24 Nov 2011 06:35:05 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14336</guid>
		<description>Dear All,

I am stuck deploying with the error message below while using Matlab 2008a and Microsoft Visual Studio 2005 SP2.
&#039;cmd&#039; is not recognized as an internal or external command, 
operable program or batch file. 
Error: An error occurred while shelling out to mbuild (error code = 1). 
Unable to build executable. 
??? Error using ==&gt; mcc
Error executing mcc, return status = 1.


There were errors during compilation process

However, there was no issue using Matlab 2010a and Microsoft Visual Studio 2005 and pls advise me.


Thanks and best regards
Kyaw</description>
		<content:encoded><![CDATA[<p>Dear All,</p>
<p>I am stuck deploying with the error message below while using Matlab 2008a and Microsoft Visual Studio 2005 SP2.<br />
&#8216;cmd&#8217; is not recognized as an internal or external command,<br />
operable program or batch file.<br />
Error: An error occurred while shelling out to mbuild (error code = 1).<br />
Unable to build executable.<br />
??? Error using ==&gt; mcc<br />
Error executing mcc, return status = 1.</p>
<p>There were errors during compilation process</p>
<p>However, there was no issue using Matlab 2010a and Microsoft Visual Studio 2005 and pls advise me.</p>
<p>Thanks and best regards<br />
Kyaw</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anthony</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14257</link>
		<dc:creator>Anthony</dc:creator>
		<pubDate>Wed, 05 Oct 2011 15:59:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14257</guid>
		<description>Hi,

I have code which creates a data_structure.m file (which basically lists header names and corresponding column placement) based upon a input txt file. Once the data_structure.m is created, I then load the actual data into data_mat and with data_strucutre(data_mat) I&#039;m able to create a data.fields struct whereby fields are represented by the header names  

&lt;pre&gt;
    data_mat=load([char(new_name(k)) &#039;.ascii&#039;]);
    pause(2);
    %
    % Read in Data Structure
    data = data_structure(data_mat);
&lt;/pre&gt;


Now, when I create a window exe file of my code, I receive the following error;

&lt;pre&gt;
??? Undefined function or method &#039;data_structure&#039; for input arguments of type &#039;double&#039;.
&lt;/pre&gt;

How do I call another .m function (data_structure) from within a compiled window exe file?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I have code which creates a data_structure.m file (which basically lists header names and corresponding column placement) based upon a input txt file. Once the data_structure.m is created, I then load the actual data into data_mat and with data_strucutre(data_mat) I&#8217;m able to create a data.fields struct whereby fields are represented by the header names  </p>
<pre>
    data_mat=load([char(new_name(k)) '.ascii']);
    pause(2);
    %
    % Read in Data Structure
    data = data_structure(data_mat);
</pre>
<p>Now, when I create a window exe file of my code, I receive the following error;</p>
<pre>
??? Undefined function or method 'data_structure' for input arguments of type 'double'.
</pre>
<p>How do I call another .m function (data_structure) from within a compiled window exe file?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AJ</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14255</link>
		<dc:creator>AJ</dc:creator>
		<pubDate>Tue, 04 Oct 2011 22:53:08 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14255</guid>
		<description>Hi there, 
I have created a Matlab script, using Matlab&#039;s &#039;guide&#039; program.  Is this supported in the Matlab Compiler?  Also, my script involves loading jpgs into the gui.  It runs fine on Matlab.  Is it possible to have jpgs load in the executable compiler?  Figured I&#039;d ask before going through all the steps to hopefully save some time..

Sincere thanks.</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
I have created a Matlab script, using Matlab&#8217;s &#8216;guide&#8217; program.  Is this supported in the Matlab Compiler?  Also, my script involves loading jpgs into the gui.  It runs fine on Matlab.  Is it possible to have jpgs load in the executable compiler?  Figured I&#8217;d ask before going through all the steps to hopefully save some time..</p>
<p>Sincere thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vaibhava</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14096</link>
		<dc:creator>Vaibhava</dc:creator>
		<pubDate>Fri, 15 Apr 2011 14:37:16 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14096</guid>
		<description>Hey! I have three .fig files and m files associated with them. Is there any method using deploytool to make one .exe file from them? I want just one .exe file to be executed which will ask user which of the three .fig files he wants to run, and when he selects one of the three, .fig file and the m code associated with it is executed. Could you please suggest me how to do this?</description>
		<content:encoded><![CDATA[<p>Hey! I have three .fig files and m files associated with them. Is there any method using deploytool to make one .exe file from them? I want just one .exe file to be executed which will ask user which of the three .fig files he wants to run, and when he selects one of the three, .fig file and the m code associated with it is executed. Could you please suggest me how to do this?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Teresita</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14080</link>
		<dc:creator>Teresita</dc:creator>
		<pubDate>Thu, 24 Mar 2011 22:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14080</guid>
		<description>I have a problem. When compiling the program using the Phidget library, I can not find a brand that variable or function phidget21_proto.
I think it&#039;s a problem with the library, and will not let me compile. I did an example with another program from a graph and that if I make the executable.

this is the error which shows me

MATLAB: UndefinedFunction 
Warning: 1 invisible figure(s) exist at MCR termination. Advertencia: una figura invisible (s) existen en la terminación de MCR. 

If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que 
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay 
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y 
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. 

Warning: Class Advertencia: Clase 
&#039;uitools.uimodemanager&#039; &#039;Uitools.uimodemanager&#039; 
in use at MCR termination. en uso en la terminación de MCR. 

If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que 
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay 
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y 
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. 

Warning: Class Advertencia: Clase 
&#039;uitools.uimode&#039; &#039;Uitools.uimode&#039; 
in use at MCR termination. en uso en la terminación de MCR. 

If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que 
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay 
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y 
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. 

Warning: Class Advertencia: Clase 
&#039;graphics.datacursormanager&#039; &#039;Graphics.datacursormanager&#039; 
in use at MCR termination. en uso en la terminación de MCR. 

If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que 
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay 
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y 
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. 
 

I could help with this error?</description>
		<content:encoded><![CDATA[<p>I have a problem. When compiling the program using the Phidget library, I can not find a brand that variable or function phidget21_proto.<br />
I think it&#8217;s a problem with the library, and will not let me compile. I did an example with another program from a graph and that if I make the executable.</p>
<p>this is the error which shows me</p>
<p>MATLAB: UndefinedFunction<br />
Warning: 1 invisible figure(s) exist at MCR termination. Advertencia: una figura invisible (s) existen en la terminación de MCR. </p>
<p>If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que<br />
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay<br />
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y<br />
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. </p>
<p>Warning: Class Advertencia: Clase<br />
&#8216;uitools.uimodemanager&#8217; &#8216;Uitools.uimodemanager&#8217;<br />
in use at MCR termination. en uso en la terminación de MCR. </p>
<p>If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que<br />
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay<br />
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y<br />
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. </p>
<p>Warning: Class Advertencia: Clase<br />
&#8216;uitools.uimode&#8217; &#8216;Uitools.uimode&#8217;<br />
in use at MCR termination. en uso en la terminación de MCR. </p>
<p>If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que<br />
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay<br />
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y<br />
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. </p>
<p>Warning: Class Advertencia: Clase<br />
&#8216;graphics.datacursormanager&#8217; &#8216;Graphics.datacursormanager&#8217;<br />
in use at MCR termination. en uso en la terminación de MCR. </p>
<p>If your application has terminated unexpectedly, please note that Si la aplicación ha terminado de forma inesperada, por favor, tenga en cuenta que<br />
applications generated by the MATLAB Compiler terminate when there are no aplicaciones generadas por el compilador de MATLAB terminan cuando no hay<br />
visible figure windows. ventanas visibles figura. See the documentation for WaitForFiguresToDie and Consulte la documentación de WaitForFiguresToDie y<br />
WAITFORCALLBACKS for more information. WAITFORCALLBACKS para más información. </p>
<p>I could help with this error?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: suresh dahiya</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14012</link>
		<dc:creator>suresh dahiya</dc:creator>
		<pubDate>Wed, 09 Feb 2011 18:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-14012</guid>
		<description>Hi,  
I am able to convert my .m file GUI program into .exe file using deploytool. When I start it first command window opens then GUI widow opens, But I want to suppress command window during execution of exe program as well I want to reduce starting time time of program. Please provide good sugestion if you have....
Thanks and regards</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I am able to convert my .m file GUI program into .exe file using deploytool. When I start it first command window opens then GUI widow opens, But I want to suppress command window during execution of exe program as well I want to reduce starting time time of program. Please provide good sugestion if you have&#8230;.<br />
Thanks and regards</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tannistha</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-13946</link>
		<dc:creator>Tannistha</dc:creator>
		<pubDate>Wed, 01 Dec 2010 09:55:30 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-13946</guid>
		<description>I am trying to compile a GUI which is like a  main function that calls on other GUIs as well, also it includes pictures from a subfolder in the same folder where the main file is situated and a  files from a library folder also in the main folder. The pictures have all been referenced using the relative path. I am trying to compile it using the compiler version: 4.12 (R2009bSP1) and have a no of errors.

  I have tried both the command line function as well as the deployment tool, but something is going wrong in the process.
 The command line code I use is
mcc -e ReportGenTest -a ./Symbol -a ./Mylib
 % both of them are subfolders in the folder where my m file is located

I understand now matlab compiler can compile files using relative path and all I need to do is to append them from command line or use add files/directories using the deploytool. Sadly I am having the following problems:
 The ms dos consol still comes up

 If I copy and paste this .exe and .prj file to some other folder in my network it doesn’t work at all, however I need this windows standalone application to run on a computer that has MCR but no MATLAB.
The .exe file created using deploytool doesn’t work at all.
I read the images as follows
imagearray = imread(&#039;.\Symbol\image.bmp&#039;);


 I ran the .exe file using command window and its closing because there r some invisible images, or the images do not exist. My guess is, it is not compiling the subfolder that contains the images.
 I am not sure where I am going wrong and any pointers would help</description>
		<content:encoded><![CDATA[<p>I am trying to compile a GUI which is like a  main function that calls on other GUIs as well, also it includes pictures from a subfolder in the same folder where the main file is situated and a  files from a library folder also in the main folder. The pictures have all been referenced using the relative path. I am trying to compile it using the compiler version: 4.12 (R2009bSP1) and have a no of errors.</p>
<p>  I have tried both the command line function as well as the deployment tool, but something is going wrong in the process.<br />
 The command line code I use is<br />
mcc -e ReportGenTest -a ./Symbol -a ./Mylib<br />
 % both of them are subfolders in the folder where my m file is located</p>
<p>I understand now matlab compiler can compile files using relative path and all I need to do is to append them from command line or use add files/directories using the deploytool. Sadly I am having the following problems:<br />
 The ms dos consol still comes up</p>
<p> If I copy and paste this .exe and .prj file to some other folder in my network it doesn’t work at all, however I need this windows standalone application to run on a computer that has MCR but no MATLAB.<br />
The .exe file created using deploytool doesn’t work at all.<br />
I read the images as follows<br />
imagearray = imread(&#8216;.\Symbol\image.bmp&#8217;);</p>
<p> I ran the .exe file using command window and its closing because there r some invisible images, or the images do not exist. My guess is, it is not compiling the subfolder that contains the images.<br />
 I am not sure where I am going wrong and any pointers would help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lindsay Graves</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-13944</link>
		<dc:creator>Lindsay Graves</dc:creator>
		<pubDate>Mon, 29 Nov 2010 16:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-13944</guid>
		<description>I have a matlab project that uses mex32 files and wanted to know how to get these files linked as part of the exe. Simply adding the .c files in the project folder c\c++ does not work.
I have switched between mexopts and the default options file.
I was getting an error during the link that it was impossible to open
c:\PROGRA`1\MATLAB\r2008B\extern\lib\win32\lcc\.def

I have a mexfunction.def in that directory but notion other than 
EXPORTS
mexFunction

in the file.  I&#039;m not sure why I am unable to create an executable.</description>
		<content:encoded><![CDATA[<p>I have a matlab project that uses mex32 files and wanted to know how to get these files linked as part of the exe. Simply adding the .c files in the project folder c\c++ does not work.<br />
I have switched between mexopts and the default options file.<br />
I was getting an error during the link that it was impossible to open<br />
c:\PROGRA`1\MATLAB\r2008B\extern\lib\win32\lcc\.def</p>
<p>I have a mexfunction.def in that directory but notion other than<br />
EXPORTS<br />
mexFunction</p>
<p>in the file.  I&#8217;m not sure why I am unable to create an executable.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug</title>
		<link>http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-13758</link>
		<dc:creator>Doug</dc:creator>
		<pubDate>Thu, 12 Aug 2010 17:28:04 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/pick/2007/12/12/advanced-matlab-compiling-a-gui/#comment-13758</guid>
		<description>Wendy,

I am not an expert in this area.  However, I know you can include other files in the bundle when you compile.  I would call tech support for specifics, but I think this should be possible.

Doug</description>
		<content:encoded><![CDATA[<p>Wendy,</p>
<p>I am not an expert in this area.  However, I know you can include other files in the bundle when you compile.  I would call tech support for specifics, but I think this should be possible.</p>
<p>Doug</p>
]]></content:encoded>
	</item>
</channel>
</rss>

