用load导入.mat文件时,如果有返回值,往往会变成struct型,如 P=load(word.mat); P为struct型。 若没有返回值,则导入的变量结果为原来的类型, load(word.mat);