필터 지우기
필터 지우기

too many input arguments

조회 수: 7 (최근 30일)
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan 2021년 4월 26일
답변: Walter Roberson 2021년 4월 26일
Hello Folks!
I am trying to get access to the specific event but the matlab code generate the error as:
EEG=pop_select(EEG,'point',[1,EEG.event(temp).latency+2*EEG.srate]);
Error using +
Too many input arguments.
EEG=pop_select(EEG,'point',[1,EEG.event(temp).latency+2*EEG.srate]);
In the temp the correct event information is stored but still the code genrate the errors. Kindly guide me to reslove this issue. Thanking in anticipation.

채택된 답변

Walter Roberson
Walter Roberson 2021년 4월 26일
In order for that to be the error message and not something close by, then we can deduce that your EEG is a scalar struct array, but that your temp is not a scalar so EEG.event(temp).latency is returning more than one value

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by