User guide |

## 8: A complete example

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.

The full application is available here:

- View demoBrowser.m
- Edit demoBrowser.m
- Run demoBrowser.m

### Section contents:

- 8.1. Application structure
- 8.2. createInterface
- 8.3. updateInterface
- 8.4. onListSelection
- 8.5. Running it
- 8.6. Scalability

© 2011 The MathWorks Ltd `•` Terms of Use `•` Patents `•` Trademarks