[scilab-Users] Help with Matrices and Stack Size

Samuel Gougeon Samuel.Gougeon at univ-lemans.fr
Fri Jan 22 06:30:36 CET 2010


Hello,

----- Message d'origine -----
De : Sean Cooper
Date : 21/01/2010 21:45:
> .../...
>
> But when I execute the following in the text editor
>
>  
>
> clear;
>
> sheets=readxls('C:\Program Files\scilab-5.2.0\myscilab\IGE.xls')
>
> s1=sheets(1)
>
> tday=s1(:,1)
>
> cls=s1(:,$)
>
> mydata=[tday,cls]
>
>  
>
> I get "mydata=[tday,cls]  !---error 144  Undefined operation for the 
> given operands. Check or define function %1_c_1 for overloading.
>
>  
>
> I get the same error if I execute...
>
>  
>
> clear;
>
> sheets=readxls('C:\Program Files\scilab-5.2.0\myscilab\IGE.xls')
>
> s1=sheets(1)
>
> mydata=[s1(:,1),s1(:,$)]
>
>  
>
> Anybody tell me what I am missing here?
>
sheets is then a "mlist" (see the help readxls page)
To get the corresponding matrix of strings: sheets.text
To get the related matrix of numerical values: sheets.value
To get the 3rd numerical column: sheets.value(:,3) (it should work; or: 
c=sheets.value; c(:,3) )
and so on.

Hope This Help
Samuel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20100122/602b43ea/attachment.htm>


More information about the users mailing list