字符串变量怎么输出?matlab

字符串变量怎么输出?matlab
举个例子定义str='soil';'road';'house3';'house4';'house5';'house6';'house7';'house8';'river';'grass10';'grass11';'vegetation';'shadow'};
要使str(1)输出为soil
str(0) 才是 soil 的啊 下标从0 开始的
← 上一篇: 下一篇: →