MATLAB Creating Graphical User Interfaces

(ff) #1

  • Create the check box with the box checked by setting the Value property to the value
    of the Max property (default is 1 ). Set Value to Min (default is 0 ) to leave the box
    unchecked. Correspondingly, when the user clicks the check box, the software sets
    Value to Max when the user checks the box and to Min when the user clears it.

  • If you want to set the position or size of the component to an exact value, then modify
    its Position property.


Edit Text


To create an edit text component that displays the initial text Enter your name here, as
shown in this figure:



  • Specify the text to be displayed when the edit text component is created by setting the
    String property to the desired value, in this case, Enter your name here.


Add Components to the GUIDE Layout Area
Free download pdf