From: Balavelan Thanigaivelan on 18 Sep 2009 04:46 >> syms a b c d e f g h >> x = [a,b;c,d;e,f;g,h] x = [ a, b] [ c, d] [ e, f] [ g, h] >> x(2,:) ans = [ c, d] >> x(2,:) = [] ??? Error using ==> mupadmex Error in MuPAD command: Subscripted assignment dimension mismatch Error in ==> sym.sym>sym.subsasgn at 1420 C = mupadmex('mllib::subsasgn',A.s,B.s,inds{:}); Can some tell me a work around ? looks like a bug. my code which works on matlab 2007b,2008b has some portion which does this row deletion. now I have problems with 2009b
From: Nasser Abbasi on 18 Sep 2009 19:30 "Balavelan Thanigaivelan" <velan(a)itee.uq.edu.au> wrote in message news:h8vhcd$m5l$1(a)fred.mathworks.com... >>> syms a b c d e f g h >>> x = [a,b;c,d;e,f;g,h] > > x = > > [ a, b] > [ c, d] > [ e, f] > [ g, h] > >>> x(2,:) > > ans = > > [ c, d] > >>> x(2,:) = [] > ??? Error using ==> mupadmex > Error in MuPAD command: Subscripted assignment dimension mismatch > > Error in ==> sym.sym>sym.subsasgn at 1420 > C = mupadmex('mllib::subsasgn',A.s,B.s,inds{:}); > Can some tell me a work around ? looks like a bug. > my code which works on matlab 2007b,2008b has some portion which does this > row deletion. > now I have problems with 2009b Yes, looks like a bug. It works ok on my matla 2008b EDU>> syms a b c d e f g h x = [a,b;c,d;e,f;g,h] x(2,:) = [] x = [ a, b] [ e, f] [ g, h] Make a bug report to Mathworks. --Nasser
From: Loren Shure on 21 Sep 2009 14:04 In article <SJUsm.129514$nL7.96776(a)newsfe18.iad>, nma(a)12000.org says... > > "Balavelan Thanigaivelan" <velan(a)itee.uq.edu.au> wrote in message > news:h8vhcd$m5l$1(a)fred.mathworks.com... > >>> syms a b c d e f g h > >>> x = [a,b;c,d;e,f;g,h] > > > > x = > > > > [ a, b] > > [ c, d] > > [ e, f] > > [ g, h] > > > >>> x(2,:) > > > > ans = > > > > [ c, d] > > > >>> x(2,:) = [] > > ??? Error using ==> mupadmex > > Error in MuPAD command: Subscripted assignment dimension mismatch > > > > Error in ==> sym.sym>sym.subsasgn at 1420 > > C = mupadmex('mllib::subsasgn',A.s,B.s,inds{:}); > > Can some tell me a work around ? looks like a bug. > > my code which works on matlab 2007b,2008b has some portion which does this > > row deletion. > > now I have problems with 2009b > > Yes, looks like a bug. It works ok on my matla 2008b > > EDU>> syms a b c d e f g h > x = [a,b;c,d;e,f;g,h] > > x(2,:) = [] > > x = > > [ a, b] > [ e, f] > [ g, h] > > Make a bug report to Mathworks. > > --Nasser > > > I have entered the bug report here. -- Loren http://blogs.mathworks.com/loren
|
Pages: 1 Prev: Difference between Matlab2007b and Matlab2007b+ Next: Matlab sucks |