[C,matches] = strsplit(___)example Description example C= strsplit(str)splits the string,str, at whitespace into the cell array of strings,C. A whitespace character is equivalent to any sequence in the set{' ','\f','\n','\r','\t','\v'}. example C= strsplit(str,delimiter)s...
python支持函数直接返回多个变量,具体用法如下: >>> def test(): ... a=2 ... b=3 ......
[C,matches] = strsplit(___)example Description example C= strsplit(str)splits the string,str, at whitespace into the cell array of strings,C. A whitespace character is equivalent to any sequence in the set{' ','\f','\n','\r','\t','\v'}. example C= strsplit(str,delimiter)s...