Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92603946
User_guide7.html
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Nov 21, 22:38
Size
4 KB
Mime Type
text/html
Expires
Sat, Nov 23, 22:38 (1 d, 20 h)
Engine
blob
Format
Raw Data
Handle
22468234
Attached To
rINSTCONTROL Instrument Control
User_guide7.html
View Options
<html
xmlns:saxon=
"http://icl.com/saxon"
>
<head>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"doc.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
""
/>
<meta
author=
"The MathWorks Ltd."
/>
<meta
copyright=
"2017 The MathWorks Ltd."
/>
<title>
A complete example
</title>
</head>
<body>
<table
class=
"header"
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<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>
<td
width=
"36"
bgcolor=
"#e4f0f8"
><A
HREF=
"User_guide6.html"
><IMG
SRC=
"Images/leftarrow.png"
BORDER=
"0"
ALT=
"previous page"
/></A><A
HREF=
"User_guide7_1.html"
><IMG
SRC=
"Images/rightarrow.png"
BORDER=
"0"
ALT=
"next page"
/></A></td>
</tr>
</table>
<h2>
7: A complete example
<A
href=
"User_guide.html"
><img
src=
"Images/uparrow.png"
border=
"0"
align=
"top"
alt=
"Go back up one level"
/></A></h2>
<img
src=
"Images/demoBrowser4.png"
align=
"right"
/>
<p>
The following example application uses many of the layout features
discussed above in order to create a good-looking user interface that
scales well when resized. It is not designed to showcase all the
layout functionality, but shows how callbacks are added to provide
user interaction. It also exemplifies separating the data from the GUI,
a fundamental part of creating modular and maintainable applications.
</p>
<p>
The full application is available here:
</p>
<ul>
<li><a
href=
"Examples/demoBrowser.m"
>
View demoBrowser.m
</a></li>
<li><a
href=
"matlab: edit(fullfile(layoutDocRoot,'Examples','demoBrowser.m'))"
>
Edit demoBrowser.m
</a></li>
<li><a
href=
"matlab: p=pwd();cd(fullfile(layoutDocRoot,'Examples'));demoBrowser;cd(p)"
>
Run demoBrowser.m
</a></li>
</ul>
<h3>
Section contents:
</h3>
<ul
class=
"contents"
>
</ul>
<ul
class=
"contents"
>
</ul>
<ul
class=
"contents"
>
<li>
7.1.
<a
href=
"User_guide7_1.html"
>
Application structure
</a></li>
<li>
7.2.
<a
href=
"User_guide7_2.html"
>
createInterface
</a></li>
<li>
7.3.
<a
href=
"User_guide7_3.html"
>
updateInterface
</a></li>
<li>
7.4.
<a
href=
"User_guide7_4.html"
>
onListSelection
</a></li>
<li>
7.5.
<a
href=
"User_guide7_5.html"
>
Running it
</a></li>
<li>
7.6.
<a
href=
"User_guide7_6.html"
>
Scalability
</a></li>
</ul>
<br
clear=
"ALL"
/>
<table
class=
"footer"
width=
"100%"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<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>
<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"
>
Deploying GUIs using the MATLAB Compiler
</font></a></td>
<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>
<td
width=
"40%"
height=
"15"
bgcolor=
"#e4f0f8"
align=
"right"
><a
href=
"User_guide7_1.html"
><font
face=
"arial"
bgcolor=
"#e4f0f8"
size=
"normal"
underline=
"0"
color=
"#000000"
>
Application structure
</font></a></td>
<td
width=
"18"
height=
"15"
bgcolor=
"#e4f0f8"
align=
"right"
><a
href=
"User_guide7_1.html"
><img
src=
"images/rightarrow.png"
border=
"0"
alt=
"next page"
/></a></td>
</tr>
</table>
<font
face=
"Arial"
bgcolor=
"#e4f0f8"
size=
"normal"
underline=
"0"
color=
"#000000"
>
©
2017 The MathWorks Ltd
</font>
<TT>
•
</TT><a
href=
"matlab: termsOfUse"
>
Terms of Use
</a>
<TT>
•
</TT><a
href=
"matlab: helpview([matlabroot,'/patents.txt'])"
>
Patents
</a>
<TT>
•
</TT><a
href=
"matlab: helpview([matlabroot,'/trademarks.txt'])"
>
Trademarks
</a>
</body>
</html>
Event Timeline
Log In to Comment