|
发表于 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
3 y) d! s4 P2 y2 U% b2 C' R! ]; j globals. Future versions of MATLAB will require that you declare" o, o: R9 j* L, J/ q& f- Y
a variable to be global before you use that variable.
( ^0 Z6 G6 H+ X> In y at 2: H4 A- z3 `* }; d' Y
In PowerFlow at 12; |9 [5 V# H- r( w1 O) @
Warning: The value of local variables may have been changed to match the
& h( `" ~2 K) g9 L! J# g2 R, n globals. Future versions of MATLAB will require that you declare
& w8 k$ P+ b3 L' \( J2 u9 X- M a variable to be global before you use that variable.
* ]$ v9 r5 |0 A+ Q& @> In y at 2
, r3 ^; P3 w/ @7 W In PowerFlow at 12
* u1 ?7 L! H; ~8 _1 f, l??? Error using ==> fprintf* \5 G. i$ m1 p8 X* r' G
Invalid file identifier -1.
0 f& N- g7 Q9 l' b1 h t7 s8 z1 g7 V4 y8 T0 \3 P
Error in ==> printY at 3
M# e+ {& b r$ t$ Afprintf(myf,'--------------节点导纳矩阵----------\n');( g5 g8 _9 J4 f" b
9 u2 l" f0 N) X3 u: y4 SError in ==> PowerFlow at 13; o' J8 G9 |2 d9 @% L: k1 Q
printY;
% o" t! E! D4 n/ {; B! O: E, ]
5 l2 t8 G% H, H: f: M请问怎么回事?5 V" `7 x4 b8 Q% a" p& {" M. F3 }
焦急等待中! |
|