在matlab中的gui文本框中设置单词'remove'
set the word 'remove' in text box in gui in matlab
我在 Matlab 中编写了一个 GUI(使用指南)。我有一个文本框,我尝试在其中设置字符串。每当我尝试将字符串 'remove' using.
set(handles.sentence,'string','remove');
我一片空白。如果我输入:
set(handles.sentence,'string','REMOVE');
它在文本框中显示 'REMOVE'。
谢谢。
这是documented:
The words default
, factory
, and remove
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'
.
我在 Matlab 中编写了一个 GUI(使用指南)。我有一个文本框,我尝试在其中设置字符串。每当我尝试将字符串 'remove' using.
set(handles.sentence,'string','remove');
我一片空白。如果我输入:
set(handles.sentence,'string','REMOVE');
它在文本框中显示 'REMOVE'。
谢谢。
这是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'
.