|
|
请教一下cell数据如何保存和读取?
我的下面代码出错:
输入:
clc;clear;
A=cell(1,3);
A{1,3}=[1 0; 0 1];
A{3}(2,1)
save test.dat A;
B=load('test.dat');
B{3}(2,1)
输出:
ans =
0
Error using load
Unknown text on line number 1 of ASCII file
F:\test.dat
"MATLAB".
Error in test (line 6)
B=load('test.dat'); |
|