error when evaluating script

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

 Accepted Answer

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

1 Comment

yes thank you, it worked but not using the addpath option but I did it manually, I saved the file by myself in the matlab preferable folder.

Sign in to comment.

More Answers (0)

Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!