Loading Files Error Import

2 views (last 30 days)
Sebastian Caceres
Sebastian Caceres on 20 Aug 2019
Answered: Rajani Mishra on 23 Aug 2019
First, I am opening several data files (.mat) into my workspace. It's strange that there names change when I do this, and I am not sure if this is related to my error. For example ES001_L_8wk.mat appears as ES006EEGEMGLP8wkresample.
My code starts off with: load ('ES001_L_8wk.mat') but I recieve the error
Error using load
Unable to read file 'ES001_L_8wk.mat'. No such
file or directory.
even though that file has been uploaded to my workspace.
Any help would be appreciated!

Accepted Answer

Rajani Mishra
Rajani Mishra on 23 Aug 2019
For the error: ‘No such file or directory’, make sure the .mat file which you are trying to load exists on the MATLAB path. For the error of .mat files getting renamed check that you don’t have any code causing that because I tried reproducing same situation and no file got renamed

More Answers (0)

Community Treasure Hunt

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

Start Hunting!