Matlab中的字符串以及查询其长度

Matlab中的字符串以及查询其长度

>> username = 'youhaidong'

username =

youhaidong

>> size(username)

ans =

     1    10