版本
你的matlab是什么版本的啊,为什么我运行的有错误呢 辛苦楼主啦,谢谢共享偶也写过,但没这么好::tongue:: 原帖由 xiaot1017 于 1-9-2008 09:59 发表 https://tech.cepsc.com/images/common/back.gif
你的matlab是什么版本的啊,为什么我运行的有错误呢 我的是比较原始的6.5版本 应该可以通用的呀 楼主试试7.5看能不能跑,呵呵。我没试过。
赞这学习,潮流计算现在是很通了。 请教楼主,我按照你的提示运行你的程序,myf=fopen('D:\matlab\work\output.dat','wt');选择test1.m系统,老是出现Warning: The value of local variables may have been changed to match the
globals.Future versions of MATLAB will require that you declare
a variable to be global before you use that variable.
> In y at 2
In PowerFlow at 12
Warning: The value of local variables may have been changed to match the
globals.Future versions of MATLAB will require that you declare
a variable to be global before you use that variable.
> In y at 2
In PowerFlow at 12
??? Error using ==> fprintf
Invalid file identifier -1.
Error in ==> printY at 3
fprintf(myf,'--------------节点导纳矩阵----------\n');
Error in ==> PowerFlow at 13
printY;
请问怎么回事?
焦急等待中! 原帖由 long_dreamer 于 4-9-2008 18:02 发表 https://tech.cepsc.com/images/common/back.gif
请教楼主,我按照你的提示运行你的程序,myf=fopen('D:\matlab\work\output.dat','wt');选择test1.m系统,老是出现Warning: The value of local variables may have been changed to match the
globals. ... Warning问题不大的 我的全局变量定义还是有问题 就会出现这样的Warning 原帖由 long_dreamer 于 4-9-2008 18:02 发表 https://tech.cepsc.com/images/common/back.gif
请教楼主,我按照你的提示运行你的程序,myf=fopen('D:\matlab\work\output.dat','wt');选择test1.m系统,老是出现Warning: The value of local variables may have been changed to match the
globals. ... Warning是因为我的全局变量定义有问题 不是很大的问题 你把global定义的减少几个就没问题了 原帖由 long_dreamer 于 4-9-2008 18:02 发表 https://tech.cepsc.com/images/common/back.gif
请教楼主,我按照你的提示运行你的程序,myf=fopen('D:\matlab\work\output.dat','wt');选择test1.m系统,老是出现Warning: The value of local variables may have been changed to match the
globals. ... 恩 怎么说呢 我在编写时也出现过这样的问题 就是全局变量定义范围的问题 你把每个子函数内的全局变量做个修改 减少一些不必要的全局变量就应该没有问题 恩 怎么说呢 我在编写时也出现过这样的问题 就是全局变量定义范围的问题 你把每个子函数内的全局变量做个修改 减少一些不必要的全局变量就应该没有问题 恩 怎么说呢 我在编写时也出现过这样的问题 就是全局变量定义范围的问题 你把每个子函数内的全局变量做个修改 减少一些不必要的全局变量就应该没有问题
