From: Matt J on
"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
"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
"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
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
"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
First  |  Prev  |  Next  |  Last
Pages: 1 2 3 4 5 6 7 8 9
Prev: Simscape>Mechanical Source
Next: ezplot3 and hold bug?