MATLAB: Error when evaluating script

errorevaluatescript

when ever I type a code in the script area in Matlab, I keep getting this error message when I evaluate, where quiz2 is name I have assigned for the file

Best Answer

quiz2 file is not found on MATLAB path. You need to use addpath to add the folder where your quiz2 is located.