Can't load .mat file from subfolder

2 views (last 30 days)
Dongwei Bai
Dongwei Bai on 20 Jun 2019
Answered: Star Strider on 20 Jun 2019
Screen Shot 2019-06-20 at 1.59.22 PM.png
Error using load
Unable to read file '.\Gutteil\AT019'. No such file or directory.
Error in LoadRefPINTurning (line 45)
A = load(filename);
I'm keep getting errors but it worked on another computer, is it because I'm using Mac or code or path is wrong.

Answers (1)

Star Strider
Star Strider on 20 Jun 2019
All the subdirectories on your MATLAB user path must be included in the path definitions. See: What Is the MATLAB Search Path? and Add Folders to the MATLAB Search Path at Startup for a full discussion.

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!