|
|
发表于 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( T5 U- \8 e3 R& f+ Y
globals. Future versions of MATLAB will require that you declare8 W( g z2 c; n2 r) @ O
a variable to be global before you use that variable.
- x1 f3 x) A+ `) Y) [; V4 l> In y at 22 ~0 G) b4 `% T9 _
In PowerFlow at 12$ D: r0 n; Y# n3 z% |& Z6 n1 D& ?# X! o9 C
Warning: The value of local variables may have been changed to match the
/ s. m: t) ]8 B. J% Q' ` globals. Future versions of MATLAB will require that you declare1 e3 o j' H! G# w
a variable to be global before you use that variable.( D3 e# Q' I1 q$ K5 x; r
> In y at 2
0 D! F4 [" h4 u: b In PowerFlow at 12
4 w* p7 e B% d??? Error using ==> fprintf
- E, g6 R. Y, y ]# tInvalid file identifier -1.! G6 f8 A- c, \5 h" I
% t' B! K& G8 @# k% t$ cError in ==> printY at 3
3 J4 X1 v( q) L& V' k( N- f9 Z) I4 gfprintf(myf,'--------------节点导纳矩阵----------\n');+ j% E3 m. ]5 O' Z
8 | W- i' u: `- w1 HError in ==> PowerFlow at 136 E6 o0 B& X& e# p% T
printY;7 ~' \2 W9 N( Q# B# i8 ?0 A h
% l7 k0 l, ]: S4 g* i, A ]请问怎么回事? B; G; r9 B/ N% k* N9 Y
焦急等待中! |
|