% demo1 function
function y2 = demo1 (x)
   disp (['in demo1'])
   x  %display x at call
   x = x +2;
   x   %display local x after incrementation
   y   %display y (not local)
end