[Top][All Lists]

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

leasqr requires optional arguments

From: oxy
Subject: leasqr requires optional arguments
Date: Mon, 14 Oct 2013 18:00:06 +0200

hi guys,

if i go to the Demonstration 1 from the page:

and end it with (as in the example):

        leasqr (t, data, pin, F, stol, niter, wt1, dp, dFdp, options)

all goes fine. If i end this example with:

 > leasqr (t, data, pin, F)

I get:

error: Invalid call to options.  Correct usage is:

 -- Function File: OPT = options ("KEY1", VALUE1, "KEY2", VALUE2, ...)

error: called from:
error:   /usr/local/share/octave/3.6.4/m/help/print_usage.m at line 87, column 5
error:   /usr/local/share/octave/packages/control-2.4.2/options.m at
line 68, column 5
error: evaluating argument list element number 1
error:   /usr/share/octave/packages/3.2/optim-1.0.17/leasqr.m at line
575, column 5

But the last arguments should be optional !?!?
Any idea whats happening?
I thank u a lot!

reply via email to

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