file or directory ~ does not exist?

2 visualizaciones (últimos 30 días)
우용 이
우용 이 el 29 de Sept. de 2021
Editada: 우용 이 el 29 de Sept. de 2021
cfg = []; % create an empty variable called cfg
cfg.dataset='subject01.eeg';
cfg.trialdef.prestim = 0.5; % in seconds
cfg.trialdef.poststim = 2; % in seconds
cfg.trialdef.eventtype = 'input';
[cfg]= ft_definetrial(cfg);
this code result in "file or directory 'subject01.eeg' does not exist"
how could i solve this problem?
Thanks

Respuestas (1)

Kevin Holly
Kevin Holly el 29 de Sept. de 2021
Editada: Kevin Holly el 29 de Sept. de 2021
I believe the dataset needs to be entered as 'subject01.ds'?
  3 comentarios
Kevin Holly
Kevin Holly el 29 de Sept. de 2021
Editada: Kevin Holly el 29 de Sept. de 2021
The file format is supported.
The error stated it could not find the file. Is the file in your path?
우용 이
우용 이 el 29 de Sept. de 2021
Editada: 우용 이 el 29 de Sept. de 2021
Thanks to your help,

Iniciar sesión para comentar.

Categorías

Más información sobre File Operations en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by