首页 > TAG信息列表 > persistex
matlab中persistex型的变量
学习matlab中的persistex类型的变量特性和C语言中static型变量差不多。请看代码: 1 %fileName: persistex.m 2 %This script demonstrates persistent variables 3 %The first function has a varibale "count" 4 5 fprintf('This is what happens with a "normal" vari