调试过程出现的问题,望高人指点一下~~~
run后:??? Attempt to reference field of non-structure array 'TmpData1'.
Error in ==> C:\MATLAB6p5p1\work\new3.m
On line 11==> Sat{iSat}.GPS_Time = TmpData1.data(1:nT,2);
不知道该怎么办.
程序代码如下:
FileList = ['NavUser1.tm';...
'NavUser2.tm'];
for iRec = 1:2
TmpData = importdata(FileList(iRec,:));
Rec{iRec}.Longitude = TmpData.data(1:nT,2);
Rec{iRec}.Latitude= TmpData.data(1:nT,3);
Rec{iRec}.Altitude= TmpData.data(1:nT,4);
页:
[1]