User_guide |

## 7: 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:

- 7.1. Application structure
- 7.2. createInterface
- 7.3. updateInterface
- 7.4. onListSelection
- 7.5. Running it
- 7.6. Scalability

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