Creating Graphical User Interfaces |
String Property for Push Buttons and Static Text
You can set the label in some user interface controls, such as push buttons, by using the String
property. For example, to set the label of the top push button, select the push button in the Layout Editor and then, in the Property Inspector, scroll down until you come to String
. In the field to the right of String
, change Push Button
to Surf
, as shown in the following figure.
You can view the change by clicking the Layout Editor. Similarly, change the String
property of the middle push button to Mesh
, the bottom push button to Contour
, and the Static Text
to Select Data.
Title Property | String Property for Pop-up Menus |
© 1994-2005 The MathWorks, Inc.