Loading Files Error Import

2 vues (au cours des 30 derniers jours)
Sebastian Caceres
Sebastian Caceres le 20 Août 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!

Réponse acceptée

Rajani Mishra
Rajani Mishra le 23 Août 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

Plus de réponses (0)

Catégories

En savoir plus sur Adding custom doc dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by