Sometimes when I add a new file to my path, I have to restart MATLAB or it won’t be detected. There must be an other way to this!
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I have experienced similar problems (Matlab does not notice it when I change a file). Unfortunately, I have no idea what causes it or how to solve it. I usually find that
CLEAR ALLsolves the problem, but be aware that it clears all variables in the work space. Some ‘REHASH’ command (e.g.,REHASH TOOLBOXRESET) may also be useful.I’d love to see a better answer; all documentation that I came across seems to indicate that this cannot happen.