From: Pete on
Hi,
I can't understand what's wrong getting this error:

Undefined function or method '_colonobj' for input arguments of type
'double' ands attributes 'sparse col real'

Complete report from shell redirected output is

Name Size Bytes Class Attributes

a 102714x102714 39459816 double sparse

b 102714x1 818272 double sparse

nv 1x1 8 double

inod 1x17119 136952 double global

vn 2x17119 273904 double global

lbn 10x221 17680 double

nbn 1x10 80 double

Error in ==> wallslip at 5
for j = 1:nv

Error in ==> main at 99
[a,b]=wallslip(a,b,nv,inod,vn,lbn,nbn);

>>

nv's type, DOUBLE, always worked when used as indice to access in
matrix (sparse).
What's wrong in this case?

Thanks in advance for comments or suggestions
From: Steven Lord on

"Pete" <againagain(a)tiscali.it> wrote in message
news:ef58c39.-1(a)webcrossing.raydaftYaTP...
> Hi,
> I can't understand what's wrong getting this error:
>
> Undefined function or method '_colonobj' for input arguments of type
> 'double' ands attributes 'sparse col real'
>
> Complete report from shell redirected output is
>
> Name Size Bytes Class Attributes
>
> a 102714x102714 39459816 double sparse
>
> b 102714x1 818272 double sparse
>
> nv 1x1 8 double
>
> inod 1x17119 136952 double global
>
> vn 2x17119 273904 double global
>
> lbn 10x221 17680 double
>
> nbn 1x10 80 double
>
> Error in ==> wallslip at 5
> for j = 1:nv
>
> Error in ==> main at 99
> [a,b]=wallslip(a,b,nv,inod,vn,lbn,nbn);
>
>>>
>
> nv's type, DOUBLE, always worked when used as indice to access in
> matrix (sparse).
> What's wrong in this case?

Why don't you post your main function and the wallslip function, and set a
breakpoint on line 99 of main and verify using WHOS that the information you
posted about your variables is correct?

--
Steve Lord
slord(a)mathworks.com