[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: optimset & setfield
From: |
Etienne Grossmann |
Subject: |
Re: optimset & setfield |
Date: |
Mon, 29 Sep 2003 18:57:12 +0100 |
User-agent: |
Mutt/1.3.28i |
Hi again,
I should add : good luck!
Cheers,
Etienne
On Mon, Sep 29, 2003 at 02:57:14PM +0200, Nathan Weisz wrote:
# Hi octave-experts,
#
# I'm trying to get P.C. Hansens Regularization Toolbox
# (http://www.imm.dtu.dk/~pch/Regutools/index.html) running under Octave.
#
# Basically I'm walking my way through the scripts, waiting until an
# error message appears because of missing functions and look for octave
# substitutes.
#
# One of these functions is optimset.m. I downloaded Etienne Grossmann's
# version from:
# http://cvs.sourceforge.net/viewcvs.py/octave/octave-forge/main/optim/
# optimset.m?rev=HEAD
# On line 44 this function calls setfield.m, which I downloaded, too:
# http://users.powernet.co.uk/kienzle/octave/matcompat/scripts/struct/
# setfield.m
#
# The call from optimset is:
# opt = setfield ();
#
# Octave returns:
# >error: va_arg: error getting arg number 2 -- only 0 provided
# >error: evaluating assignment expression near line 36, column 7
# >error: evaluating while command near line 35, column 1
#
# Is it possible that the call is wrong and that setfield expects some
# input, or is there a general difference in how optimset is used under
# Matlab and octave?
#
# Nathan
#
# GNU Octave, version 2.1.46 (powerpc-apple-darwin6.6).
#
#
#
# -------------------------------------------------------------
# Octave is freely available under the terms of the GNU GPL.
#
# Octave's home on the web: http://www.octave.org
# How to fund new projects: http://www.octave.org/funding.html
# Subscription information: http://www.octave.org/archive.html
# -------------------------------------------------------------
#
--
Etienne Grossmann ------ http://www.isr.ist.utl.pt/~etienne
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------