file or directory ~ does not exist?
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
Kevin Holly
2021-9-29
编辑:Kevin Holly
2021-9-29
I believe the dataset needs to be entered as 'subject01.ds'?
3 个评论
Kevin Holly
2021-9-29
编辑:Kevin Holly
2021-9-29
The file format is supported.
The error stated it could not find the file. Is the file in your path?
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 File Operations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!