📄 getwords.m
字号:
function w=getwords(s)
% w=getwords(s)
%
% Returns a cell array with the individual words in the string 's'
s = upper2space(s);
w = strread(s, '%s', 'delimiter', '-_., ');
w = strrep(w, '(', '');
w = strrep(w, ')', '');
w = strrep(w, '''', '');
w = strrep(w, '"', '');
w = strrep(w, ';', '');
w = strrep(w, '&', '');
w = strrep(w, '?', '');
w = strrep(w, '!', '');
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -