Reputation: 1135
I programmed a GUI in Matlab (using guide). I have a text box in which I try to set strings. whenever I tried to put the string 'remove' using.
set(handles.sentence,'string','remove');
I get blank. if I put:
set(handles.sentence,'string','REMOVE');
it presents 'REMOVE' in the text box.
thank you.
Upvotes: 2
Views: 44
Reputation: 112659
This is documented:
The words
default
,factory
, andremove
are reserved words that will not appear in text when quoted as a normal characters. To display any of these words individually, precede them with a backslash, such as'\default'
or'\remove'
.
Upvotes: 5