<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
Hello,<BR>
<BR>
I have created a STUDY set with three conditions and seven subjects. After precomputing channel measures, tried to plot ERPs, Spectra, ERSP and ITC. All is plotting well but ERP is giving the following error meesage:<BR>
<FONT color=#ff0000>***********************************************************</FONT><BR>
<FONT color=#ff0000>***********************************************************</FONT><BR>
Reading erp data...??? Index exceeds matrix dimensions.<BR>
Error in ==> std_readerp>std_readerpsub at 485<BR> if isfield(erpstruct, 'labels'), chanlab{k} = erpstruct.labels{k}; end;<BR>
Error in ==> std_readerp at 220<BR> if strcmpi(dtype, 'erp') alldata{c, g} = std_readerpsub( ALLEEG,<BR> setinds{c,g}(:), allinds{c,g}(:), opt.timerange)';<BR>
Error in ==> std_erpplot at 322<BR> [STUDY erpdata alltimes] = std_readerp(STUDY, ALLEEG, 'channels', opt.channels,<BR> 'timerange', opt.timerange, ...<BR>
Error in ==> pop_chanplot at 323<BR> eval(a); STUDY.history = sprintf('%s\n%s', STUDY.history, a);<BR> <BR>??? Error while evaluating uicontrol Callback<BR>
<FONT color=#ff0000>***********************************************************</FONT><BR>
<FONT color=#ff0000>***********************************************************</FONT><BR>
<FONT color=#ff0000></FONT> <BR>
<FONT color=#1d1b10>please help, thanks.</FONT><BR>
<FONT color=#1d1b10></FONT> <BR>
<FONT color=#1d1b10>Saim</FONT><BR> </body>
</html>