From: ade77 on 2 Dec 2009 22:05 "Eric " <tanzhao.eric(a)gmail.com> wrote in message <hf6ktm$23p$1(a)fred.mathworks.com>... > Hello > > I was trying to import a xlsx file to matlab but did not have luck. > > My data is like > > -80.669210 28.141130 > -81.772990 29.185000 > -82.286840 29.684610 > -82.163400 29.222970 > -81.357740 30.161860 > > which are 54 rows. > > I tried [num,txt,raw]=xlsread('try.xlsx') and got 'File contains unexpected record length. Try saving as Excel 98'. > > I tried importdata try.xlsx and got a warning: File contains uninterpretable data. > > I works after I convert it to xls. But I can not do that because I have other files which has more rows than what xls can fit. > > Thanks > Eric Excel 2007 has a problem with MATLAB or vice versa. Try saving it as a text file, then import.
|
Pages: 1 Prev: methods used with multiple subsassign(ments) Next: digital image processing |