Is it possible that you have some older MATPOWER code somewhere in your Matlab 
path? My only suggestion is that you try a clean installation of the MATPOWER 
code and make sure there is no other opf.m file in your path (try typing 'which 
opf' to be sure that it is calling the version you expect).

-- 
Ray Zimmerman
Senior Research Associate
419A Warren Hall, Cornell University, Ithaca, NY 14853
phone: (607) 255-9645




On Jun 29, 2012, at 11:18 PM, shrikant naik wrote:

> Dear Sir,
> When i write "test_matpower" in command window I am getting following.
>  
>  test_matpower
> t_loadcase..........ok
> t_ext2int2ext.......ok
> t_jacobian..........ok
> t_hessian...........ok
> t_totcost...........ok
> t_modcost...........ok
> t_hasPQcap..........ok
> t_mips..............ok
> t_qps_matpower......ok (180 of 288 skipped)
> t_pf................ok
> t_opf_fmincon.......??? Error using ==> opf at 92
> opf.m: Incorrect input parameter order, number or type
> Error in ==> runopf at 96
> [r, success] = opf(casedata, mpopt);
> Error in ==> t_opf_fmincon at 82
>     [baseMVA, bus, gen, gencost, branch, f, success, et] =
>     runopf(casefile, mpopt);
> Error in ==> t_run_tests at 79
>     feval( test_names{k}, ~verbose );
> Error in ==> test_matpower at 135
> t_run_tests( tests, verbose );
>  
> I am using MTPOWER 4.1 available on your site for downloading.Is there 
> anything wrong?Why I am getting that error?Please clarify
> S.D.Naik

Reply via email to