help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

The problem of reading xls file persists


From: hassen62
Subject: The problem of reading xls file persists
Date: Sat, 1 Sep 2007 17:56:53 +0200 (CEST)

Dear Antonio,

I have written your function as follows:

function give_names(la,m)

[n,c]=size(la);

for i=1:n

assignin("base",la(i,:),m(:,i));

end

endfunction

la=["y"

     "x"];

give_names(la,m);

I taped y I obtained the first column but when I taped x I obtained the following message:

"x undefined near...").     NB:I have two columns in my data.

Thank you and best regards.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]