MATLAB Creating Graphical User Interfaces

(ff) #1

Introduction to Creating UIs


About Apps in MATLAB Software


1


Ways to Build Apps............................... 1-
Use App Designer .............................. 1-
Use GUIDE ................................... 1-
Use MATLAB Functions to Create Apps Programmatically
......................................... 1-

How to Create a App with GUIDE


2


Create a Simple App Using GUIDE................... 2-
Open a New UI in the GUIDE Layout Editor.......... 2-
Set the Window Size in GUIDE.................... 2-
Layout the UI................................. 2-
Code the Behavior of the App.................... 2-
Run the App................................. 2-

Files Generated by GUIDE........................ 2-
Code Files and FIG-Files........................ 2-
Code File Structure ........................... 2-
Adding Callback Templates to an Existing Code File... 2-
About GUIDE-Generated Callbacks ................ 2-

v

Contents

Free download pdf