help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: genvarname.m


From: wlmd888
Subject: Re: genvarname.m
Date: Thu, 2 Oct 2008 12:59:50 -0700 (PDT)

Thanks for your reply!

For nargchk function,

In Octave, the function is defined as:

nargchk (NARGIN_MIN, NARGIN_MAX, N)

In Matlab, the function is defined as:
MSGSTRUCT = NARGCHK(LOW,HIGH,N,'struct')
MSG=NARGCHK(LOW,HIGH,N,'string')
MSG = NARGCHK(LOW,HIGH,N)

So in matlab, it can accept more than 3 parameters, but in Octave, it can
only accept 3 parameters.





John W. Eaton wrote:
> 
> On  2-Oct-2008, wlmd888 wrote:
> 
> |   I installed Octave 3.0.2 but did not find genvarname.m, 
> 
> It is in the current development sources, so it will appear in the
> next major release of Octave.  But it is just a .m file, so maybe it
> will also work with 3.0.2.
> 
> | in addition, nargchk.m is slightly different from that in Matlab.
> 
> In what way?
> 
> If you think you've found a bug in Octave, then please submit a
> complete report to the address@hidden list.  Please read
> http://www.octave.org/bugs.html to see what you should include so that
> your report is helpful.
> 
> jwe
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www-old.cae.wisc.edu/mailman/listinfo/help-octave
> 
> 

-- 
View this message in context: 
http://www.nabble.com/genvarname.m-tp19783736p19786391.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]