MathWorks interview question

What is the difference between MATLAB function and MATLAB script?