[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64113] optimget should accept [] as first arg
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument |
Date: |
Wed, 26 Apr 2023 11:12:18 -0400 (EDT) |
Follow-up Comment #4, bug #64113 (project octave):
Funny. I looked directly at my ML R2019b help, which one would think is the
same as
https://www.mathworks.com/help/releases/R2019b/matlab/ref/optimget.html?s_tid=doc_ta
But it is not. Here is what I get:
>> help optimget
optimget Get OPTIM OPTIONS parameters.
VAL = optimget(OPTIONS,'NAME') extracts the value of the named parameter
from optimization options structure OPTIONS, returning an empty matrix if
the parameter value is not specified in OPTIONS. It is sufficient to
type only the leading characters that uniquely identify the
parameter. Case is ignored for parameter names. [] is a valid OPTIONS
argument.
VAL = optimget(OPTIONS,'NAME',DEFAULT) extracts the named parameter as
above, but returns DEFAULT if the named parameter is not specified (is
[])
in OPTIONS. For example
val = optimget(opts,'TolX',1e-4);
returns val = 1e-4 if the TolX parameter is not specified in opts.
See also optimset.
>> ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.7.0.1737446 (R2019b) Update 9
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64113>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Muhali, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Pantxo Diribarne, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Muhali, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, John W. Eaton, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument,
Muhali <=
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Nicholas Jankowski, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Rik, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Rik, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Nicholas Jankowski, 2023/04/26
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Rik, 2023/04/27
- [Octave-bug-tracker] [bug #64113] optimget should accept [] as first argument, Nicholas Jankowski, 2023/04/27