genvarname.m

John W. Eaton jwe at bevo.che.wisc.edu
Thu Oct 2 15:14:33 CDT 2008


On  2-Oct-2008, wlmd888 wrote:

| 
| 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.

OK.

I'd consider a patch.

jwe


More information about the Help-octave mailing list