Effacer les filtres
Effacer les filtres

too many input arguments

7 vues (au cours des 30 derniers jours)
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan le 26 Avr 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.

Réponse acceptée

Walter Roberson
Walter Roberson le 26 Avr 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

Plus de réponses (0)

Catégories

En savoir plus sur EEG/MEG/ECoG dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by