function s = f2 () persistent x; if isempty(x) x = @gg; end s = x; end