I believe this was fixed since the release of v6.0. Can you check whether you 
can replicate the problem with the latest version on GitHub 
<https://github.com/MATPOWER/matpower>?

    Ray


> On Oct 16, 2017, at 7:52 AM, Bone, Gorazd <[email protected]> wrote:
> 
> Hi. I'm having some issues running mpoption() in Octave. 
> OK, so, let's say I try to run the following in Octve 4.2.1.
> 
> mpopt = mpoption('verbose',0) 
> 
> This gives an error as follows:
> 
> 
> >> mpopt = mpoption('verbose', 0);
> error: value on right hand side of assignment is undefined
> error: called from
>     have_fcn at line 191 column 26
>     mpoption_info_fmincon at line 31 column 1
>     mpoption at line 617 column 28
> 
> 
> I can still set options simply, by first calling 
> 
> mpopt = mpoption()
> 
> and then 
> 
> mpopt.verbose=0;
> 
> In Matlab, mpoption() works as described in the manual. Am I missing 
> something or should this be addressed?

Reply via email to