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

 采纳的回答

Mario Malic
Mario Malic 2020-10-25

0 个投票

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

1 个评论

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.

请先登录,再进行评论。

更多回答(0 个)

类别

在 帮助中心 和 File Exchange 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by