octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #64516] Document how optimset expands short op


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #64516] Document how optimset expands short option inputs to full option names
Date: Mon, 7 Aug 2023 03:12:05 -0400 (EDT)

Follow-up Comment #17, bug #64516 (project octave):

Using Matlab R2023a:

>> optimset('O', @test)

ans = 

  struct with fields:

        Display: []
    MaxFunEvals: []
        MaxIter: []
         TolFun: []
           TolX: []
    FunValCheck: []
      OutputFcn: @test
       PlotFcns: []


So for compatibility, option names need to be matched with just one single
character if possible.


Re-reading the posts so far, I'm not sure if you really want to use `optimset`
at all. It looks like you'd like to add parameters to some kind of
configuration structure. Why aren't you using a plain `struct` instead of
going though `optimset`?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64516>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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