RT本人要用matpower做作业在matlab7.0里面添加了matpower的路径,用test_matpower出现了很多报错
The element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: c:\matlab7\toolbox\ccslink\ccslink\info.xml
>> 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 (140 of 245 skipped)
t_pf................ok
t_opf_fmincon.......??? Error using ==> qr
Too many output arguments.
Error in ==> optim\private\qpsub>eqnsolv at 823
[Qa,Ra,Ea]=qr(A(eqix,:));
Error in ==> optim\private\qpsub at 178
[Q,R,A,B,X,Z,how,ACTSET,ACTIND,ACTCNT,aix,eqix,neqcstr,ncstr, ...
Error in ==> optim\private\nlconst at 684
[SD,lambda,exitflagqp,outputqp,howqp,ACTIND] ...
Error in ==> fmincon at 498
[X,FVAL,lambda,EXITFLAG,OUTPUT,GRAD,HESSIAN]=...
Error in ==> fmincopf_solver at 179
[x, f, info, Output, Lambda] = ...
Error in ==> opf_execute at 141
[results, success, raw] = feval(solver, om, mpopt);
Error in ==> opf at 225
[results, success, raw] = opf_execute(om, mpopt);
Error in ==> runopf at 96
[r, success] = opf(casedata, mpopt);
Error in ==> t_opf_fmincon at 81
[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 128
t_run_tests( tests, verbose );
>>
The element type "name" must be terminated by the matching end-tag "</name>".
Could not parse the file: c:\matlab7\toolbox\ccslink\ccslink\info.xml
>> 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 (140 of 245 skipped)
t_pf................ok
t_opf_fmincon.......??? Error using ==> qr
Too many output arguments.
Error in ==> optim\private\qpsub>eqnsolv at 823
[Qa,Ra,Ea]=qr(A(eqix,:));
Error in ==> optim\private\qpsub at 178
[Q,R,A,B,X,Z,how,ACTSET,ACTIND,ACTCNT,aix,eqix,neqcstr,ncstr, ...
Error in ==> optim\private\nlconst at 684
[SD,lambda,exitflagqp,outputqp,howqp,ACTIND] ...
Error in ==> fmincon at 498
[X,FVAL,lambda,EXITFLAG,OUTPUT,GRAD,HESSIAN]=...
Error in ==> fmincopf_solver at 179
[x, f, info, Output, Lambda] = ...
Error in ==> opf_execute at 141
[results, success, raw] = feval(solver, om, mpopt);
Error in ==> opf at 225
[results, success, raw] = opf_execute(om, mpopt);
Error in ==> runopf at 96
[r, success] = opf(casedata, mpopt);
Error in ==> t_opf_fmincon at 81
[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 128
t_run_tests( tests, verbose );
>>