Borrar filtros
Borrar filtros

too many input arguments

7 visualizaciones (últimos 30 días)
Khan Muhammad Adeel Khan
Khan Muhammad Adeel Khan el 26 de Abr. de 2021
Respondida: Walter Roberson el 26 de Abr. de 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.

Respuesta aceptada

Walter Roberson
Walter Roberson el 26 de Abr. de 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

Más respuestas (0)

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by