exec('mafonction.sci') deff('[y]=f(x)','y=1+x^2') f(2) whos -type function //f(x) A=[1 2; 3 4] f(A) 1+A.^2 //fonctions à plusieurs variables function [a,b]=f(x,y) a=x+y b=x*y endfunction [a,b]=f(2,3) f(2,3) a=1,b=2 deff('[a,b]=g(x)','a=x+1,b=2*b') [u,v]=g(3) a,b