Azzera filtri
Azzera filtri

too many input arguments

7 visualizzazioni (ultimi 30 giorni)
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan il 26 Apr 2021
Risposto: Walter Roberson il 26 Apr 2021
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.

Risposta accettata

Walter Roberson
Walter Roberson il 26 Apr 2021
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

Più risposte (0)

Categorie

Scopri di più su EEG/MEG/ECoG in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by