Creating Graphical User Interfaces    

GUI with UIcontrols

The following figure shows the GUI with UIcontrols template displayed in the Layout Editor.

When you run the GUI by clicking the Run button, the GUI appears as shown in the following figure.

When a user enters values for the density and volume of an object, and clicks the Calculate button, the GUI calculates the mass of the object and displays the result next to Mass(D*V).


  Blank GUI GUI with Axes and Menu