PDA

查看完整版本 : Programming Patterns - Nested Functions in MATLAB


labfans
2009-04-09, 02:47
At The MathWorks, we frequently receive questions that ask how to share information among multiple elements, such as figures in a graphical user interface (GUI) application. In this article, we describe how to write such an application with elegant code using nested functions, a new feature in MATLAB 7.

更多... (http://www.mathworks.com/company/newsletters/news_notes/jan06/patterns.html)