file or directory ~ does not exist?

조회 수: 4 (최근 30일)
우용 이
우용 이 2021년 9월 29일
편집: 우용 이 2021년 9월 29일
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

답변 (1개)

Kevin Holly
Kevin Holly 2021년 9월 29일
편집: Kevin Holly 2021년 9월 29일
I believe the dataset needs to be entered as 'subject01.ds'?
  댓글 수: 3
Kevin Holly
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?
우용 이
우용 이 2021년 9월 29일
편집: 우용 이 2021년 9월 29일
Thanks to your help,

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 File Operations에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by