views:

127

answers:

1

hi,

how to Assign a value to a static text in GUI MATLAB.

+2  A: 

Double click on your text in guide to open the property editor, then edit the 'String' property. You can also set the 'Tag' property so you can edit it while your GUI is running. If you set your tag to mytext, you can change the static text to 'MyString' with the following line:

set(handles.mytext,'String','MyString')
Doresoom