1 | <html xmlns:saxon="http://icl.com/saxon"> |
---|
2 | <head> |
---|
3 | <link rel="stylesheet" type="text/css" href="doc.css"/> |
---|
4 | <link rel="stylesheet" type="text/css" href=""/> |
---|
5 | <meta author="The MathWorks Ltd."/> |
---|
6 | <meta copyright="2011 The MathWorks Ltd."/> |
---|
7 | <title>Deploying GUIs using the MATLAB Compiler</title> |
---|
8 | </head> |
---|
9 | |
---|
10 | |
---|
11 | <body> |
---|
12 | <table class="header" width="100%" border="0" cellspacing="0" cellpadding="0"> |
---|
13 | <tr> |
---|
14 | <td bgcolor="#e4f0f8"><A href="User guide.html"><font face="Arial" bgcolor="#e4f0f8" size="+0" underline="0" color="#000000"><b>User guide</b></font></A></td> |
---|
15 | <td width="36" bgcolor="#e4f0f8"><A HREF="User guide6.html"><IMG SRC="Images/leftarrow.png" BORDER="0" ALT="previous page"/></A><A HREF="User guide8.html"><IMG SRC="Images/rightarrow.png" BORDER="0" ALT="next page"/></A></td> |
---|
16 | </tr> |
---|
17 | </table> |
---|
18 | |
---|
19 | |
---|
20 | <h2>7: Deploying GUIs using the MATLAB Compiler <A href="User guide.html"><img src="Images/uparrow.png" border="0" align="top" alt="Go back up one level"/></A></h2> |
---|
21 | |
---|
22 | |
---|
23 | |
---|
24 | <p>Applications built using these layout tools can be deployed as standalone |
---|
25 | executables using the <a href="matlab:doc compiler">MATLAB Compiler</a> in |
---|
26 | the same way as any other MATLAB application. There is, however, one thing to watch out for:</p> |
---|
27 | <ul> |
---|
28 | <li>You must explicitly include the uiextras.Resources folder</li> |
---|
29 | </ul> |
---|
30 | <h4>Example</h4> |
---|
31 | <p>Below is a screen-shot of the <a href="matlab:doc deploytool"><code class="FUNCTION">deploytool</code></a> setup |
---|
32 | used to build the <a href="ExampleApp.html">example application</a>. |
---|
33 | The "Resources" folder from the toolbox has been explicitly added as a |
---|
34 | shared resource so that the mouse-pointers and panel icons continue to work.</p> |
---|
35 | <example><p style="background-color: #ddddee; margin-left: 20px; margin-right: 20px"><font color="#000022"><center><img src="Images/deploy.png"/></center></font></p></example> |
---|
36 | |
---|
37 | |
---|
38 | <br clear="ALL"/> |
---|
39 | <table class="footer" width="100%" border="0" cellspacing="0" cellpadding="0"> |
---|
40 | <tr> |
---|
41 | <td width="18" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide6.html"><img src="images/leftarrow.png" border="0" alt="previous page"/></a></td> |
---|
42 | <td width="40%" height="15" bgcolor="#e4f0f8" align="left"><a href="User guide6.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">Using layouts inside GUIDE GUIs</font></a></td> |
---|
43 | <td width="20%" height="15" bgcolor="#e4f0f8" align="center"><a href="index.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">[Top]</font></a></td> |
---|
44 | <td width="40%" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8.html"><font face="arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">A complete example</font></a></td> |
---|
45 | <td width="18" height="15" bgcolor="#e4f0f8" align="right"><a href="User guide8.html"><img src="images/rightarrow.png" border="0" alt="next page"/></a></td> |
---|
46 | </tr> |
---|
47 | </table> |
---|
48 | <font face="Arial" bgcolor="#e4f0f8" size="normal" underline="0" color="#000000">© 2011 The MathWorks Ltd</font> |
---|
49 | <TT>• </TT><a href="matlab: helpview([matlabroot,'/license.txt'])">Terms of Use</a> |
---|
50 | <TT>• </TT><a href="matlab: helpview([matlabroot,'/patents.txt'])">Patents</a> |
---|
51 | <TT>• </TT><a href="matlab: helpview([matlabroot,'/trademarks.txt'])">Trademarks</a> |
---|
52 | |
---|
53 | </body> |
---|
54 | </html> |
---|
55 | |
---|
56 | |
---|