Prev: Simscape>Mechanical Source
Next: ezplot3 and hold bug?
From: Matt J on 29 May 2010 14:10 "roya olyazadeh" <roya2543(a)gmail.com> wrote in message <htrjji$34i$1(a)fred.mathworks.com>... > ??? Subscript indices must either be real positive integers or logicals. > > Error in ==> networkadjustment at 480 > min(X00) > > > What is the problem ? each element seems to be real positive integers. ============== Another fix, if you really want a variable named 'min'. Change line 480 of networkadjustment.m to, myMin(X00) Then, as the first line of code in the file, add myMin=(a)min;
From: Matt J on 29 May 2010 14:29 "Matt J " <mattjacREMOVE(a)THISieee.spam> wrote in message <htrlad$im4$1(a)fred.mathworks.com>... > Then, as the first line of code in the file, add > > myMin=(a)min; Make that myMin=eval('@min'); %a deliberately horrible use of eval
From: roya olyazadeh on 29 May 2010 14:32 "Matt Fig" <spamanon(a)yahoo.com> wrote in message <htrke8$o1o$1(a)fred.mathworks.com>... > You are the 1,345,657th person to name a variable after a built-in MATLAB function, then try to call the function. How did you count this number??
From: Walter Roberson on 29 May 2010 14:37 roya olyazadeh wrote: > "Matt Fig" <spamanon(a)yahoo.com> wrote in message > <htrke8$o1o$1(a)fred.mathworks.com>... >> You are the 1,345,657th person to name a variable after a built-in >> MATLAB function, then try to call the function. > > How did you count this number?? Well, you know Matt -- he prefers to understand things.
From: Bruno Luong on 29 May 2010 14:39
"roya olyazadeh" <roya2543(a)gmail.com> wrote in message <htrmj6$8u8$1(a)fred.mathworks.com>... > > > How did you count this number?? Perhaps with a working MIN function. Bruno |