From: pablo on
I have the same error when a use the following script..

OUTPUT=[]

for i=1:Np
OUTPUT = [OUTPUT; row D];

end

OUTFILE=strcat('OUTPUT',num2str(m),'.txt')
save(OUTFILE,'OUTPUT','-ascii', '-double')


may somebody help me?



"Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hpl4so$r5d$1(a)fred.mathworks.com>...
> Dear Mahesh!
>
> > I have following errors.....
> >
> > ??? Subscripted assignment dimension mismatch.
> > ....
> > so what is the meaning of this error and what is the solution for it.
>
> I really hope, that it is not *you* but your Matlab which has this error.
> The error message means, that you have accessed an array with not matching indices.
>
> Without showing us the corresponding commands, there is definitely no chance to tell you how to fix them.
>
> Jan
From: Ravi Rastogi on
Hi Pablo,

From what i can tell from the limited information that u gave, if the length of all your "row D" that you are concatenating are not same then you will get assignment dimension mismatch error.

Ravi

"pablo " <pabloe_1(a)hotmail.com> wrote in message <i3fe54$phn$1(a)fred.mathworks.com>...
> I have the same error when a use the following script..
>
> OUTPUT=[]
>
> for i=1:Np
> OUTPUT = [OUTPUT; row D];
>
> end
>
> OUTFILE=strcat('OUTPUT',num2str(m),'.txt')
> save(OUTFILE,'OUTPUT','-ascii', '-double')
>
>
> may somebody help me?
>
>
>
> "Jan Simon" <matlab.THIS_YEAR(a)nMINUSsimon.de> wrote in message <hpl4so$r5d$1(a)fred.mathworks.com>...
> > Dear Mahesh!
> >
> > > I have following errors.....
> > >
> > > ??? Subscripted assignment dimension mismatch.
> > > ....
> > > so what is the meaning of this error and what is the solution for it.
> >
> > I really hope, that it is not *you* but your Matlab which has this error.
> > The error message means, that you have accessed an array with not matching indices.
> >
> > Without showing us the corresponding commands, there is definitely no chance to tell you how to fix them.
> >
> > Jan
 | 
Pages: 1
Prev: controled zooming
Next: another for loop issue