|
|
发表于 2008-9-4 18:02:42
|
显示全部楼层
请教楼主,我按照你的提示运行你的程序,myf=fopen('D:\matlab\work\output.dat','wt');选择test1.m系统,老是出现Warning: The value of local variables may have been changed to match the
" F! E; h9 B% G* B8 r3 Q globals. Future versions of MATLAB will require that you declare. ?- t {7 \0 y# t3 B! O5 G
a variable to be global before you use that variable.* j! a1 i$ M% Q
> In y at 26 O- O/ }+ c1 s" a) l' m/ ]; c
In PowerFlow at 12
# ?) j$ d- p' u+ ^" `9 IWarning: The value of local variables may have been changed to match the
9 E6 _/ ~7 z5 J% G$ v* T" n globals. Future versions of MATLAB will require that you declare
% u2 l8 z' T& l$ p4 K a variable to be global before you use that variable./ B+ d2 ^0 a4 T7 g7 w. ~; }
> In y at 2
. i9 g: S0 M, y: A* Q In PowerFlow at 128 F& g R0 e+ I+ V
??? Error using ==> fprintf
3 [/ R2 J4 r0 Y+ K: g% W @Invalid file identifier -1.
/ _+ t5 j8 `2 Q4 w) Q
: O( _2 m$ n: E" p% B, RError in ==> printY at 3* ~ {2 J; f+ f4 U) c1 k% ]
fprintf(myf,'--------------节点导纳矩阵----------\n');
; f* q- I; ~8 m2 ?0 ~8 Q9 G; Y! I( I, S6 ~
Error in ==> PowerFlow at 137 r! u6 \7 P3 b3 c
printY;- u2 s( v, i' ^' g
% Q. [% F9 l" X% y7 A; {+ E请问怎么回事?% E+ c+ I7 n0 N. u# E% G
焦急等待中! |
|