matlab練習程序(靜態變量)

小技巧html 在函數中用persistent定義變量。函數 例子:post function re=test() persistent a; if isempty(a) a=1; end a=a+1; re=a; end   轉載於:https://www.cnblogs.com/tiandsp/archive/2013/04/09/3010
相關文章
相關標籤/搜索