mHello Rajesh,

My first guess would be, that you have not correctly added the path of your 
Matpower folder to your Matlab environment. So before you execute the 
test_matpower.m, add the Matpower folder to the environment using the "addpath( 
)" function. I am referring to step 3 of the installation procedure described 
in the Matpower manual.

Does that solve your problem?

Best,

Patrick
________________________________________
Von: [email protected] 
[[email protected]]" im Auftrag von 
"[email protected] [[email protected]]
Gesendet: Donnerstag, 17. September 2015 00:27
An: [email protected]
Cc: [email protected]
Betreff: MATPOWER5.1 : Matlab System Error

Hello,
I have installed MATPOWER5.1 version and I am using MATLAB version
7.10 R2010a.
However I am unable to run Matpower and I get the following error.

version              (Version of MATLAB installed)
ans = 7.10.0.499 (R2010a)

test_matpower            (Error Message)
??? Undefined function or method 'have_fcn' for input arguments of
type 'char'.
Error in ==> test_matpower at 44
if have_fcn('fmincon')

Output of mpver is shown below, pl:
mpver

MATPOWER               Version 5.1        20-Mar-2015
MATLAB                 Version 7.10       25-Jan-2010   Release: (R2010a)
Optimization Toolbox   Version 5.0        25-Jan-2010   Release: (R2010a)
MIPS                   Version 1.2        20-Mar-2015
SDP_PF                 -- not installed --
YALMIP                 -- not installed --
BPMPD_MEX              -- not installed --
CLP                    -- not installed --
CPLEX                  -- not installed --
GLPK                   -- not installed --
Gurobi                 -- not installed --
IPOPT                  -- not installed --
KNITRO                 -- not installed --
MINOPF                 -- not installed --
MOSEK                  -- not installed --
PARDISO                -- not installed --
PDIPMOPF               -- not installed --
SCPDIPMOPF             -- not installed --
SDPT3                  -- not installed --
SeDuMi                 -- not installed --
TRALMOPF               -- not installed --
Architecture:          PCWIN

   MATPOWER 5.1 is distributed under the 3-clause BSD License.
   Please see the LICENSE file for details.

Any suggestions to resolve it please?

--------------------------
Rajesh Vaid



Reply via email to