Pergunta de entrevista da empresa MathWorks

What is the difference between MATLAB function and MATLAB script?