|
|
发表于 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 the4 W) X/ ]5 P: G. D% O% P
globals. Future versions of MATLAB will require that you declare; j2 z ]5 y, @2 r( Y
a variable to be global before you use that variable.) S$ U) Y( I* h3 c# s6 q: s6 r% q
> In y at 26 o5 u% |1 t- d: d
In PowerFlow at 123 V0 C% y; D4 F2 ^
Warning: The value of local variables may have been changed to match the
7 I6 Y; ]; h2 T, m/ s globals. Future versions of MATLAB will require that you declare+ o) s# p3 t* V. F4 z$ u
a variable to be global before you use that variable.' r2 E- i( W6 z9 t9 X
> In y at 2! `# u# S$ O7 N5 D/ X
In PowerFlow at 12
( E* |1 V _5 \$ l??? Error using ==> fprintf
( y( w% q; W$ U$ HInvalid file identifier -1.
$ H3 r9 q" B4 C) f2 }. w" H0 X% \6 e
Error in ==> printY at 3
+ @8 y4 a$ T" w5 V; a, S* bfprintf(myf,'--------------节点导纳矩阵----------\n');1 l8 h: h) B, t& H, r
, {! I: m" K* d" i, U
Error in ==> PowerFlow at 131 g# X X" d, c, L# M
printY;: ]# }: p3 E d0 q6 ^
7 i5 O, ]- X0 w8 b3 R Y6 k请问怎么回事?8 F; K# Y* X3 `
焦急等待中! |
|