Specifications
Using GUIDE Templates
3-5
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).
GUI with Axes and Menu
The GUI with axes and menu template is shown in the following figure.
When you run the GUI by clicking the Run icon on the toolbar, the GUI
displays a plot of five random numbers generated by the MATLAB
rand(5)
command, as shown in the following figure.