wangfanee
2009-05-11, 16:12
如何不输出matlab的警告信息 在线等
我在一个M文件定义一个全局变量,再在这个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.
全局变量在一个文件里面定义,又是不行的。
求助
谢谢
我在一个M文件定义一个全局变量,再在这个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.
全局变量在一个文件里面定义,又是不行的。
求助
谢谢