too many input arguments
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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.
0 comentarios
Respuesta aceptada
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
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!