|
|
发表于 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 the1 k' q4 v7 P& }
globals. Future versions of MATLAB will require that you declare. p: L1 @: ?8 P( g
a variable to be global before you use that variable.) k T# J# Z7 R
> In y at 2
7 L3 G; e. I3 u$ Y; H In PowerFlow at 12
. C% p7 H u4 R1 GWarning: The value of local variables may have been changed to match the
5 d& B1 i a2 d4 @ globals. Future versions of MATLAB will require that you declare+ g g5 s6 G0 U0 v, E: O E
a variable to be global before you use that variable., o' c: g* q8 J) u+ ^' O" G
> In y at 2
# X5 j! p# }" h$ m0 D* L In PowerFlow at 12$ b. l% Z1 ?/ a' [# s! i2 i
??? Error using ==> fprintf
: a& L1 c, R9 s+ iInvalid file identifier -1.0 T' _. Z: ]( b g) @* Z1 i
, z; |% q1 H3 w) [4 r2 SError in ==> printY at 31 A* n) M, W5 I2 }" @* x1 p1 C
fprintf(myf,'--------------节点导纳矩阵----------\n');
1 N5 y; J# t$ V' ]# j3 L9 q- Q* F1 J8 P+ }
Error in ==> PowerFlow at 13, ?! F/ i; R, G; D; \
printY;
; B4 s4 s: v; P: c6 w( y% C+ K8 I/ k. S* |- Z4 N
请问怎么回事?1 ]9 K/ _& ~, \* e0 _
焦急等待中! |
|