Skip to content

updating EEGLAB

updating EEGLAB #161

This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / MATLAB Test R2021b failed Oct 20, 2023 in 0s

MATLAB Test R2021b ❌

Tests failed

❌ test-results/results_R2021b.xml

705 tests were completed in 2644s with 702 passed, 3 failed and 0 skipped.

Test suite Passed Failed Skipped Time
adminfunc_eeg_checkchanlocs_wrapperTest 1✅ 236ms
adminfunc_eeg_getdatact_wrapperTest 1✅ 246ms
adminfunc_eeg_global_wrapperTest 1✅ 8ms
adminfunc_eeg_helpadmin_wrapperTest 1✅ 76ms
adminfunc_eeg_helphelp_wrapperTest 1✅ 2s
adminfunc_eeg_helpmenu_wrapperTest 1✅ 6ms
adminfunc_eeg_helppop_wrapperTest 1✅ 5ms
adminfunc_eeg_helpsigproc_wrapperTest 1✅ 6ms
adminfunc_eeg_helpstudy_wrapperTest 1✅ 7ms
adminfunc_eeg_hist_wrapperTest 1✅ 6ms
adminfunc_eeg_options_wrapperTest 1✅ 3ms
adminfunc_eeg_optionsbackup_wrapperTest 1✅ 3ms
adminfunc_eeg_readoptions_wrapperTest 2✅ 31ms
adminfunc_eeg_retrieve_wrapperTest 5✅ 182ms
adminfunc_eeg_store_wrapperTest 8✅ 3s
adminfunc_eegh_wrapperTest 13✅ 31ms
adminfunc_eeglab_error_wrapperTest 1✅ 1ms
adminfunc_eeglab_execmenu_wrapperTest 1✅ 18s
adminfunc_eeglab_options_wrapperTest 1✅ 23ms
adminfunc_eegobj_wrapperTest 1✅ 1s
adminfunc_gethelpvar_wrapperTest 6✅ 68ms
adminfunc_getkeyval_wrapperTest 15✅ 229ms
adminfunc_gettext_wrapperTest 1✅ 1ms
adminfunc_is_sccn_wrapperTest 1✅ 58ms
adminfunc_iseeglabdeployed_wrapperTest 1✅ 4ms
adminfunc_mmo_wrapperTest 16✅ 62s
adminfunc_pop_delset_wrapperTest 5✅ 237ms
adminfunc_pop_editoptions_wrapperTest 1✅ 1ms
adminfunc_pop_rejmenu_wrapperTest 1✅ 1s
adminfunc_pop_stdwarn_wrapperTest 1✅ 1ms
adminfunc_vararg2str_wrapperTest 1✅ 28ms
binary_loadcnt_wrapperTest 1✅ 2s
binary_pop_biosig_wrapperTest 2✅ 4s
binary_pop_chancoresp_wrapperTest 9✅ 571ms
binary_pop_chanevent_wrapperTest 1✅ 3s
binary_pop_importegimat_wrapperTest 1✅ 150ms
binary_pop_importpres_wrapperTest 1✅ 825ms
binary_pop_loadbv_wrapperTest 1✅ 481ms
binary_pop_loadcnt_wrapperTest 1✅ 5s
binary_pop_read_erpss_wrapperTest 1✅ 1s
binary_pop_readegi_wrapperTest 1✅ 178ms
binary_pop_readsegegi_wrapperTest 1✅ 958ms
binary_pop_snapread_wrapperTest 1✅ 276ms
binary_readbdf_wrapperTest 1✅ 52ms
binary_readegi_wrapperTest 1✅ 24ms
binary_snapread_wrapperTest 1✅ 55ms
clean_rawdata_wrapperTest 6✅ 18s
eeglab_tests_wrapperTest 2✅ 94s
guifunc_errordlg2_wrapperTest 1✅ 1ms
guifunc_finputcheck_wrapperTest 8✅ 37ms
guifunc_inputdlg2_wrapperTest 5✅ 4ms
guifunc_inputgui_wrapperTest 10✅ 8ms
guifunc_listdlg2_wrapperTest 10✅ 7ms
guifunc_pophelp_wrapperTest 1✅ 19s
guifunc_supergui_wrapperTest 1✅ 12s
miscfunc_abspeak_wrapperTest 9✅ 29ms
miscfunc_averef_wrapperTest 4✅ 8ms
miscfunc_covary_wrapperTest 5✅ 15ms
miscfunc_datlim_wrapperTest 3✅ 6ms
miscfunc_eeg_ms2f_wrapperTest 4✅ 10ms
miscfunc_eeg_regepochs_wrapperTest 2✅ 463ms
miscfunc_eeg_time2prev_wrapperTest 1✅ 2ms
miscfunc_eegmovie_wrapperTest 2✅ 2ms
miscfunc_eegplotgold_wrapperTest 6✅ 564ms
miscfunc_eegplotsold_wrapperTest 3✅ 273ms
miscfunc_eucl_wrapperTest 1✅ 16ms
miscfunc_gabor2d_wrapperTest 4✅ 30ms
miscfunc_gauss_wrapperTest 1✅ 7ms
miscfunc_gauss2d_wrapperTest 2✅ 11ms
miscfunc_gauss3d_wrapperTest 1✅ 14ms
miscfunc_getallmenus_wrapperTest 1✅ 82ms
miscfunc_getipsph_wrapperTest 1✅ 12ms
miscfunc_gradmap_wrapperTest 3✅ 716ms
miscfunc_gradplot_wrapperTest 4✅ 487ms
miscfunc_headmovie_wrapperTest 3✅ 3s
miscfunc_help2html_wrapperTest 2✅ 2ms
miscfunc_helpforexe_wrapperTest 1✅ 273ms
miscfunc_hist2_wrapperTest 1✅ 167ms
miscfunc_hungarian_wrapperTest 8✅ 42ms
miscfunc_icademo_wrapperTest 1✅ 1ms
miscfunc_imagescloglog_wrapperTest 6✅ 379ms
miscfunc_imagesclogy_wrapperTest 6✅ 306ms
miscfunc_kmeans_st_wrapperTest 1✅ 686ms
miscfunc_laplac2d_wrapperTest 4✅ 14ms
miscfunc_loc_subsets_wrapperTest 1✅ 32s
miscfunc_make_timewarp_wrapperTest 1✅ 247ms
miscfunc_makehtml_output_wrapperTest 2✅ 89ms
miscfunc_makehtml_wrapperTest 1✅ 1ms
miscfunc_mapcorr_wrapperTest 1✅ 21s
miscfunc_matcorr_wrapperTest 8✅ 39ms
miscfunc_matperm_wrapperTest 1✅ 7ms
miscfunc_means_wrapperTest 1✅ 27ms
miscfunc_nan_std_wrapperTest 4✅ 10ms
miscfunc_numdim_wrapperTest 4✅ 10ms
miscfunc_pcexpand_wrapperTest 2✅ 7ms
miscfunc_pcsquash_wrapperTest 3✅ 17ms
miscfunc_perminv_wrapperTest 1✅ 5ms
miscfunc_promax_wrapperTest 5✅ 55ms
miscfunc_rmart_wrapperTest 1✅ 14ms
miscfunc_rmsave_wrapperTest 1✅ 10ms
miscfunc_runicalowmem_wrapperTest 1✅ 75s
miscfunc_runpca_wrapperTest 1✅ 9ms
miscfunc_runpca2_wrapperTest 1✅ 171ms
miscfunc_scanfold_wrapperTest 1✅ 1s
miscfunc_seemovie_wrapperTest 1✅ 1ms
miscfunc_setfont_wrapperTest 1✅ 134ms
miscfunc_shortread_wrapperTest 1✅ 70ms
miscfunc_show_events_wrapperTest 1✅ 1s
miscfunc_testica_wrapperTest 1✅ 1s
miscfunc_textgui_wrapperTest 1✅ 94ms
miscfunc_uniqe_cell_string_wrapperTest 1✅ 4ms
miscfunc_uniquef_wrapperTest 1✅ 5ms
miscfunc_varimax_wrapperTest 1✅ 99ms
miscfunc_varsort_wrapperTest 1✅ 14s
miscfunc_vectdata_wrapperTest 1✅ 659ms
miscfunc_zica_wrapperTest 1✅ 15s
popfunc_eeg_addnewevents_wrapperTest 1✅ 1ms
popfunc_eeg_amplitudearea_wrapperTest 1✅ 59ms
popfunc_eeg_chaninds_wrapperTest 1✅ 80ms
popfunc_eeg_context_wrapperTest 1✅ 426ms
popfunc_eeg_decodechan_wrapperTest 1✅ 80ms
popfunc_eeg_eegrej_wrapperTest 2✅ 700ms
popfunc_eeg_emptyset_wrapperTest 1✅ 2ms
popfunc_eeg_eventhist_wrapperTest 1✅ 295ms
popfunc_eeg_eventtypes_wrapperTest 1✅ 85ms
popfunc_eeg_getepochevent_wrapperTest 5✅ 42ms
popfunc_eeg_getica_wrapperTest 1✅ 111ms
popfunc_eeg_insertbound_wrapperTest 1✅ 23ms
popfunc_eeg_interp_wrapperTest 2✅ 801ms
popfunc_eeg_lat2point_wrapperTest 6✅ 30ms
popfunc_eeg_matchchans_wrapperTest 2✅ 20ms
popfunc_eeg_mergechan_wrapperTest 1✅ 91ms
popfunc_eeg_mergelocs_wrapperTest 1✅ 101ms
popfunc_eeg_multieegplot_wrapperTest 3✅ 912ms
popfunc_eeg_point2lat_wrapperTest 6✅ 16ms
popfunc_eeg_rejsuperpose_wrapperTest 5✅ 25ms
popfunc_eeg_timeinterp_wrapperTest 1✅ 151ms
popfunc_eeg_urlatency_wrapperTest 2✅ 5ms
popfunc_getchanlist_wrapperTest 4✅ 11ms
popfunc_importevent_wrapperTest 2✅ 77ms
popfunc_pop_adjustevents_wrapperTest 2✅ 574ms
popfunc_pop_autorej_wrapperTest 1✅ 8s
popfunc_pop_chancenter_wrapperTest 4✅ 177ms
popfunc_pop_chanedit_wrapperTest 1✅ 92ms
popfunc_pop_chansel_wrapperTest 1✅ 1ms
popfunc_pop_comments_wrapperTest 3✅ 118ms
popfunc_pop_compareerps_wrapperTest 2✅ 2ms
popfunc_pop_comperp_wrapperTest 1✅ 12s
popfunc_pop_copyset_wrapperTest 2✅ 397ms
popfunc_pop_crossf_wrapperTest 2✅ 2s
popfunc_pop_delset_wrapperTest 1✅ 116ms
popfunc_pop_editeventfield_wrapperTest 17✅ 1s
popfunc_pop_editeventvals_wrapperTest 1✅ 127ms
popfunc_pop_editset_wrapperTest 1✅ 1ms
popfunc_pop_eegfilt_wrapperTest 1✅ 420ms
popfunc_pop_eegplot_wrapperTest 1✅ 885ms
popfunc_pop_eegthresh_wrapperTest 1✅ 7s
popfunc_pop_envtopo_wrapperTest 1✅ 5s
popfunc_pop_epoch_wrapperTest 2✅ 549ms
popfunc_pop_erpimage_wrapperTest 1✅ 11s
popfunc_pop_eventstat_wrapperTest 1✅ 12s
popfunc_pop_expica_wrapperTest 2✅ 754ms
popfunc_pop_export_wrapperTest 1✅ 14s
popfunc_pop_headplot_wrapperTest 1✅ 4s
popfunc_pop_importdata_wrapperTest 1✅ 2ms
popfunc_pop_importepoch_wrapperTest 1✅ 431ms
popfunc_pop_importevent_wrapperTest 1✅ 3s
popfunc_pop_interp_wrapperTest 1✅ 593ms
popfunc_pop_jointprob_wrapperTest 1✅ 3s
popfunc_pop_loadset_wrapperTest 1✅ 3s
popfunc_pop_mergeset_wrapperTest 1✅ 2s
popfunc_pop_newcrossf_wrapperTest 1✅ 2s
popfunc_pop_newset_wrapperTest 1✅ 1s
popfunc_pop_plotdata_wrapperTest 1✅ 14s
popfunc_pop_plottopo_wrapperTest 1✅ 1s
popfunc_pop_prop_wrapperTest 1✅ 8s
popfunc_pop_readlocs_wrapperTest 1✅ 78ms
popfunc_pop_rejchan_wrapperTest 1✅ 1s
popfunc_pop_rejchanspec_wrapperTest 1✅ 19s
popfunc_pop_rejepoch_wrapperTest 1✅ 270ms
popfunc_pop_rejkurt_wrapperTest 1✅ 5s
popfunc_pop_rejspec_wrapperTest 1✅ 40s
popfunc_pop_rejtrend_wrapperTest 1✅ 3s
popfunc_pop_reref_wrapperTest 2✅ 105ms
popfunc_pop_resample_wrapperTest 3✅ 11s
popfunc_pop_rmbase_wrapperTest 1✅ 113ms
popfunc_pop_rmdat_wrapperTest 1✅ 3s
popfunc_pop_runica_wrapperTest 1✅ 4s
popfunc_pop_runscript_wrapperTest 1✅ 6s
popfunc_pop_saveh_wrapperTest 1✅ 894ms
popfunc_pop_saveset_wrapperTest 1✅ 3s
popfunc_pop_select_wrapperTest 1✅ 291ms
popfunc_pop_selectcomps_wrapperTest 1✅ 13s
popfunc_pop_selectevent_wrapperTest 2✅ 1s
popfunc_pop_signalstat_wrapperTest 1✅ 5s
popfunc_pop_spectopo_wrapperTest 1✅ 35s
popfunc_pop_subcomp_wrapperTest 1✅ 108ms
popfunc_pop_timef_wrapperTest 1✅ 2s
popfunc_pop_timtopo_wrapperTest 1✅ 511ms
popfunc_pop_topoplot_wrapperTest 1✅ 6s
popfunc_pop_writelocs_wrapperTest 1✅ 131ms
sigprocfunc_angtimewarp_wrapperTest 3✅ 14ms
sigprocfunc_axcopy_wrapperTest 3✅ 342ms
sigprocfunc_blockave_wrapperTest 1✅ 3ms
sigprocfunc_cart2topo_wrapperTest 2✅ 26ms
sigprocfunc_cbar_wrapperTest 5✅ 1s
sigprocfunc_celltomat_wrapperTest 2✅ 9ms
sigprocfunc_chancenter_wrapperTest 5✅ 66ms
sigprocfunc_concatdata_wrapperTest 1✅ 10ms
sigprocfunc_convertlocs_wrapperTest 1✅ 10ms
sigprocfunc_copyaxis_wrapperTest 1✅ 272ms
sigprocfunc_eegfilt_wrapperTest 1✅ 143ms
sigprocfunc_eegplot_wrapperTest 5✅ 1s
sigprocfunc_eegplot2event_wrapperTest 6✅ 25ms
sigprocfunc_eegplot2trial_wrapperTest 5✅ 25ms
sigprocfunc_eegrej_wrapperTest 4✅ 403ms
sigprocfunc_eegthresh_wrapperTest 7✅ 33ms
sigprocfunc_entropy_rej_wrapperTest 8✅ 37ms
sigprocfunc_env_wrapperTest 2✅ 14ms
sigprocfunc_envtopo_wrapperTest 1✅ 2s
sigprocfunc_epoch_wrapperTest 5✅ 102ms
sigprocfunc_erpimage_wrapperTest 8✅ 700ms
sigprocfunc_eventalign_wrapperTest 3✅ 8ms
sigprocfunc_eventlock_wrapperTest 2✅ 2ms
sigprocfunc_eyelike_wrapperTest 5✅ 17ms
sigprocfunc_fastif_wrapperTest 4✅ 7ms
sigprocfunc_fdr_wrapperTest 1✅ 40ms
sigprocfunc_floatread_wrapperTest 5✅ 17ms
sigprocfunc_floatwrite_wrapperTest 2✅ 437ms
sigprocfunc_forcelocs_wrapperTest 2✅ 26ms
sigprocfunc_headplot_wrapperTest 5✅ 6s
sigprocfunc_icadefs_wrapperTest 1✅ 9ms
sigprocfunc_jointprob_wrapperTest 8✅ 22ms
sigprocfunc_kmeanscluster_wrapperTest 1✅ 15ms
sigprocfunc_kurt_wrapperTest 4✅ 19ms
sigprocfunc_loadeeg_wrapperTest 1✅ 1ms
sigprocfunc_loadtxt_wrapperTest 8✅ 61ms
sigprocfunc_matsel_wrapperTest 2✅ 8ms
sigprocfunc_mattocell_wrapperTest 2✅ 4ms
sigprocfunc_movav_wrapperTest 10✅ 43ms
sigprocfunc_nan_mean_wrapperTest 4✅ 8ms
sigprocfunc_newtimef_wrapperTest 2✅ 1s
sigprocfunc_parsetxt_wrapperTest 3✅ 10ms
sigprocfunc_plotcurve_wrapperTest 1✅ 1s
sigprocfunc_posact_wrapperTest 3✅ 15ms
sigprocfunc_quantile_wrapperTest 5✅ 33ms
sigprocfunc_readeetraklocs_wrapperTest 2✅ 2ms
sigprocfunc_readegilocs_wrapperTest 1✅ 482ms
sigprocfunc_readelp_wrapperTest 1✅ 12ms
sigprocfunc_readlocs_wrapperTest 2✅ 54ms
sigprocfunc_readneurodat_wrapperTest 1✅ 19ms
sigprocfunc_readtxtfile_wrapperTest 1✅ 6ms
sigprocfunc_realproba_wrapperTest 3✅ 6ms
sigprocfunc_rejkurt_wrapperTest 1✅ 1s
sigprocfunc_rejtrend_wrapperTest 1✅ 941ms
sigprocfunc_reref_wrapperTest 1✅ 281ms
sigprocfunc_rmbase_wrapperTest 1✅ 295ms
sigprocfunc_runica_ml2_wrapperTest 1✅ 4s
sigprocfunc_runica_mlb_wrapperTest 1✅ 11s
sigprocfunc_runica_wrapperTest 12✅ 645ms
sigprocfunc_sbplot_wrapperTest 1✅ 180ms
sigprocfunc_shuffle_wrapperTest 1✅ 14ms
sigprocfunc_slider_wrapperTest 1✅ 334ms
sigprocfunc_timtopo_wrapperTest 1✅ 17s
sigprocfunc_topoplot_wrapperTest 1✅ 157ms
statcondTest 24✅ 1s
statistics_statcond_wrapperTest 1✅ 280ms
statistics_statcondfieldtrip_wrapperTest 1✅ 10ms
studyfunc_pop_clust_wrapperTest 1✅ 3s
studyfunc_pop_dipparams_wrapperTest 1✅ 2s
studyfunc_pop_erpimparams_wrapperTest 1✅ 2s
studyfunc_pop_erpparams_wrapperTest 1✅ 2s
studyfunc_pop_erspparams_wrapperTest 1✅ 2s
studyfunc_pop_specparams_wrapperTest 1✅ 2s
studyfunc_pop_statparams_wrapperTest 1✅ 2s
studyfunc_std_dipplot_wrapperTest 1✅ 2s
studyfunc_std_editset_wrapperTest 1✅ 6s
studyfunc_std_erpplot_wrapperTest 2✅ 1❌ 94s
studyfunc_std_erspplot_wrapperTest 5✅ 64s
studyfunc_std_makedesign_wrapperTest 1✅ 2s
studyfunc_std_preclust_wrapperTest 1✅ 25s
studyfunc_std_precomp_wrapperTest 1✅ 76s
studyfunc_std_selectdesign_wrapperTest 1✅ 866ms
studyfunc_std_specplot_wrapperTest 2✅ 2❌ 40s
studyfunc_std_topoplot_wrapperTest 1✅ 2s
tutorial_wrapperTest 9✅ 760s
tutorial2_wrapperTest 2✅ 800s

❌ studyfunc_std_erpplot_wrapperTest

❌ test_test_std_erpplot
	Error occurred in studyfunc_std_erpplot_wrapperTest/test_test_std_erpplot and it did not run to completion.
✅ test_test_stderpplot2
✅ test_test_stderpplot3

❌ studyfunc_std_specplot_wrapperTest

❌ test_test_std_specplot
	Error occurred in studyfunc_std_specplot_wrapperTest/test_test_std_specplot and it did not run to completion.
❌ test_test_std_specplot2
	Error occurred in studyfunc_std_specplot_wrapperTest/test_test_std_specplot2 and it did not run to completion.
✅ test_test_stdspecplot3
✅ test_test_stdspecplot4

Annotations

Check failure on line 0 in test-results/results_R2021b.xml

See this annotation in the file changed.

@github-actions github-actions / MATLAB Test R2021b

studyfunc_std_erpplot_wrapperTest ► test_test_std_erpplot

Failed test found in:
  test-results/results_R2021b.xml
Error:
  Error occurred in studyfunc_std_erpplot_wrapperTest/test_test_std_erpplot and it did not run to completion.
Raw output
Error occurred in studyfunc_std_erpplot_wrapperTest/test_test_std_erpplot and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:badsubscript'
    --------------
    Error Details:
    --------------
    Index exceeds the number of array elements. Index must not exceed 1.
    
    Error in metaplottopo (line 296)
                tmp = [ tmp(1:g.datapos(2)-1) { data{2}(c,:,:,:,:) } tmp(g.datapos(2):end) ];
    
    Error in std_plotcurve (line 513)
                                  metaplottopo(pgroupplot{c}', 'chanlocs', opt.chanlocs, 'plotfunc', 'plotcurve', ...
    
    Error in std_erpplot (line 359)
            std_plotcurve(alltimes, tmperpdata, 'groupstats', pgroup, 'legend', alllegends, 'condstats', pcond, 'interstats', pinter, ...
    
    Error in test_std_erpplot (line 38)
                                        STUDY = std_erpplot(STUDY, ALLEEG, 'channels', channels{chans}, 'plotsubjects', plotsubjects{ps}, 'condstats', stats{s1}, 'groupstats', stats{s2}, 'plotgroups', conds{c1}, 'plotconditions', conds{c2}, 'threshold', NaN);
    
    Error in studyfunc_std_erpplot_wrapperTest>test_test_std_erpplot (line 6)
    test_std_erpplot

Check failure on line 0 in test-results/results_R2021b.xml

See this annotation in the file changed.

@github-actions github-actions / MATLAB Test R2021b

studyfunc_std_specplot_wrapperTest ► test_test_std_specplot

Failed test found in:
  test-results/results_R2021b.xml
Error:
  Error occurred in studyfunc_std_specplot_wrapperTest/test_test_std_specplot and it did not run to completion.
Raw output
Error occurred in studyfunc_std_specplot_wrapperTest/test_test_std_specplot and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:badsubscript'
    --------------
    Error Details:
    --------------
    Index exceeds the number of array elements. Index must not exceed 1.
    
    Error in metaplottopo (line 296)
                tmp = [ tmp(1:g.datapos(2)-1) { data{2}(c,:,:,:,:) } tmp(g.datapos(2):end) ];
    
    Error in std_plotcurve (line 543)
                        metaplottopo(pcondplot{g}', 'chanlocs', opt.chanlocs, 'plotfunc', 'plotcurve', ...
    
    Error in std_erpplot (line 359)
            std_plotcurve(alltimes, tmperpdata, 'groupstats', pgroup, 'legend', alllegends, 'condstats', pcond, 'interstats', pinter, ...
    
    Error in std_specplot (line 108)
    [STUDY, specdata, allfreqs, pgroup, pcond, pinter] = std_erpplot(STUDY, ALLEEG, 'datatype', 'spec', 'unitx', 'Hz', varargin{:});
    
    Error in test_std_specplot (line 25)
    STUDY = std_specplot(STUDY, ALLEEG, 'channels', { tmpchanlocs.labels }, 'plotconditions', 'together', 'condstats', 'on'); if closefig, close; end
    
    Error in studyfunc_std_specplot_wrapperTest>test_test_std_specplot (line 6)
    test_std_specplot

Check failure on line 0 in test-results/results_R2021b.xml

See this annotation in the file changed.

@github-actions github-actions / MATLAB Test R2021b

studyfunc_std_specplot_wrapperTest ► test_test_std_specplot2

Failed test found in:
  test-results/results_R2021b.xml
Error:
  Error occurred in studyfunc_std_specplot_wrapperTest/test_test_std_specplot2 and it did not run to completion.
Raw output
Error occurred in studyfunc_std_specplot_wrapperTest/test_test_std_specplot2 and it did not run to completion.
    ---------
    Error ID:
    ---------
    'MATLAB:badsubscript'
    --------------
    Error Details:
    --------------
    Index exceeds the number of array elements. Index must not exceed 1.
    
    Error in metaplottopo (line 296)
                tmp = [ tmp(1:g.datapos(2)-1) { data{2}(c,:,:,:,:) } tmp(g.datapos(2):end) ];
    
    Error in std_plotcurve (line 513)
                                  metaplottopo(pgroupplot{c}', 'chanlocs', opt.chanlocs, 'plotfunc', 'plotcurve', ...
    
    Error in std_erpplot (line 359)
            std_plotcurve(alltimes, tmperpdata, 'groupstats', pgroup, 'legend', alllegends, 'condstats', pcond, 'interstats', pinter, ...
    
    Error in std_specplot (line 108)
    [STUDY, specdata, allfreqs, pgroup, pcond, pinter] = std_erpplot(STUDY, ALLEEG, 'datatype', 'spec', 'unitx', 'Hz', varargin{:});
    
    Error in test_std_specplot2 (line 29)
                                STUDY = std_specplot(STUDY, ALLEEG, 'channels', channels{chans}, 'plotsubjects', plotsubjects{ps}, 'condstats', stats{s1}, 'groupstats', stats{s2}, 'plotgroups', conds{c1}, 'plotconditions', conds{c2}, 'threshold', NaN);
    
    Error in studyfunc_std_specplot_wrapperTest>test_test_std_specplot2 (line 9)
    test_std_specplot2