Matlab implements string splicing

str='xiao';
str1='guo';
str2=[str str1]  % 此种写法

str2 combines str and str1
The result graph
insert image description here

Guess you like

Origin blog.csdn.net/qq_43666766/article/details/112207797