MATLAB Creating Graphical User Interfaces

(Barry) #1

6 Lay Out a UI Using GUIDE


When you enter values for the density and volume of an object, and click the Calculate
button, the program calculates the mass of the object and displays the result next to
Mass(D*V).

To view the code for these user interface controls, open the template in the Layout Editor
and click the Editor button on the toolbar.

GUI with Axes and Menu

The following figure shows an example of this template.
Free download pdf