1
如何在Matlab中保存.mat
文件中的结构数组?可能吗?如何保存matlab中的.mat文件中的结构数组
p(1).x=0;
p(1).y=0;
p(2).x=1;
p(2).y=1;
save('matfilename','-struct','p');
% ??? Error using ==> save
% The argument to -STRUCT must be the name of a scalar structure variable.
谢谢我正在寻找这个答案。 – nayab