Prev: How to make two images as the same in their characteristics
Next: fclose() command slow when closing big files?
From: roya olyazadeh on 31 May 2010 02:53 ??? Error using ==> sym.subs>flatten at 224 Number of elements in NEW must match number in OLD Error in ==> sym.subs at 146 [X,Y] = flatten(X,Y); Error in ==> networkadjustment at 185 L0(i)=subs(L01,[a b c d ],[FX(i,1) FY(i,1) TX(i,1) TY(i,1)]); What is this error for ? I can not run my program any more.. but before I dont have this error.. I can not run any previous program .. I tried it into different computers. Both matlabs give me this error What s happend to my program :(
From: roya olyazadeh on 31 May 2010 03:16 Another error in another matlab ??? Error using ==> eval Undefined function or variable 'x30'. Error in ==> sym.double at 45 D = reshape(eval(X),siz); Error in ==> networkadjustment at 260 elseif double(Se1(i)) > 0 & double(Se2(i)) > 0 & double(Sa1(i)) >0 & double(Sa2(i)) > 0 :(
From: Wayne King on 31 May 2010 03:28 "roya olyazadeh" <roya2543(a)gmail.com> wrote in message <htvmcf$gcq$1(a)fred.mathworks.com>... > ??? Error using ==> sym.subs>flatten at 224 > Number of elements in NEW must match number in OLD > > Error in ==> sym.subs at 146 > [X,Y] = flatten(X,Y); > > Error in ==> networkadjustment at 185 > L0(i)=subs(L01,[a b c d ],[FX(i,1) FY(i,1) TX(i,1) TY(i,1)]); > > > > What is this error for ? > I can not run my program any more.. but before I dont have this error.. > I can not run any previous program .. > > I tried it into different computers. Both matlabs give me this error > What s happend to my program :( Hi, you should make sure that the number of elements in [a b c d] actually matches the number of elements in [FX(i,1) FY(i,1) TX(i,1) TY(i,1)]. Perhaps one or more are empty? The function subs() is issuing an error because the number of elements is [a b c d] does not match the number of elements in [FX(i,1) FY(i,1) TX(i,1) TY(i,1)]. You should put a breakpoint at that function call in networkadjustment.m and see what is being passed to subs(). Hope that helps, Wayne
From: Walter Roberson on 31 May 2010 10:50
roya olyazadeh wrote: > Another error in another matlab > > ??? Error using ==> eval > Undefined function or variable 'x30'. > > Error in ==> sym.double at 45 > D = reshape(eval(X),siz); > > Error in ==> networkadjustment at 260 > elseif double(Se1(i)) > 0 & double(Se2(i)) > 0 & double(Sa1(i)) >0 & > double(Sa2(i)) > 0 > :( One of Se1 or Se2 or Sa1 is a symbolic expression that references a symbolic variable named x30 which is not defined. |