function f = foo(x) f = x^2 + 2; return;