This was a bug related to installations of Octave that do not include the 
“optim” toolbox. It was fixed in the development version on GitHub in this 
commit 
<https://github.com/MATPOWER/matpower/commit/ca9c69dd642a131003fa6d64d1700a3c1c9bd0a6>
  shortly after the release of MATPOWER 6.0. The easiest solution is probably 
just to use the current version on GitHub 
<https://github.com/MATPOWER/matpower>. The other option would be to manually 
apply the change from that commit directly to have_fcn.m.

    Ray


> On Feb 28, 2018, at 4:30 AM, Zacharie DE GREVE <[email protected]> 
> wrote:
> 
> 
> Dear all,
> 
> Certainly a stupid question (sorry for that), but I have just installed 
> Matpower 6.0 for the first time, and when trying to  run 'test_matpower' on 
> Octave 4.2.1 (OS: Linux Mint 17.1 Rebecca), I get the following error:
> 
> >> test_matpower
> error: value on right hand side of assignment is undefined
> error: called from
>     have_fcn at line 191 column 26
>     test_matpower at line 44 column 1
> 
> Any hints ?
> 
> Thank you very much in advance.
> 
> All the best.
> 
> 
> 
> --
> ------------------------------------------------------------------------------
> Zacharie De Grève - PhD in Electrical Engineering
> Research and Teaching Assistant
> Electrical Power Engineering Unit (http://www.gele-umons.be/ 
> <http://www.gele-umons.be/>)
> University of Mons -  Faculty of Engineering
> Bd Dolez, 31 BE-7000 Mons
> Tél : +32 (0)65 374117
> Fax : +32 (0)65 374120
> https://sites.google.com/site/zachariedegreve/ 
> <https://sites.google.com/site/zachariedegreve/>
> ------------------------------------------------------------------------------

Reply via email to