error when evaluating script

2 Ansichten (letzte 30 Tage)
Reem Alblooshi
Reem Alblooshi am 25 Okt. 2020
Kommentiert: Reem Alblooshi am 25 Okt. 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

Akzeptierte Antwort

Mario Malic
Mario Malic am 25 Okt. 2020
quiz2 file is not found on MATLAB path. You need to use addpath to add the folder where your quiz2 is located.
  1 Kommentar
Reem Alblooshi
Reem Alblooshi am 25 Okt. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Search Path finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by