error when evaluating script

1 view (last 30 days)
Reem Alblooshi
Reem Alblooshi on 25 Oct 2020
Commented: Reem Alblooshi on 25 Oct 2020
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
Reem Alblooshi
Reem Alblooshi on 25 Oct 2020
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

Find more on Search Path in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!