[Eeglablist] Error when plotting std_erspplot

Makoto Miyakoshi mmiyakoshi at ucsd.edu
Thu Sep 17 19:43:10 PDT 2015

Dear Isaiah,

This is overloading issue.
Type 'which -all str2num' and you should find multiple str2num being used.
The problem happens because the 'correct' str2num() is not used. Set matlab
path to the 'correct' function only and it will work.


On Fri, Sep 11, 2015 at 8:56 AM, Isaiah Innis <isainnis at umail.iu.edu> wrote:

> Hello eeglab list:
> When using 'std_erspplot' from the command line or the gui
> The figure correctly displays all channels in a single plot, but when I
> click on a specific channel, I get the following error:
> "Error using str2num (line 32)
> Requires string or character array input.
> Error in copyaxis (line 97)
>    eval(command);
> Error while evaluating Image ButtonDownFcn"
> The individual channel ERSP plot will then have a wildly incorrect axis on
> the freq side. We recently upgraded from R2012 to R2014b so I wonder if
> that is the issue, as there is no problem when plotting in R2012 (the
> individual channel figure would pop up correctly in a new window).
> Here are the parameters I normally use:
> %%%
> [STUDY, allersp, alltimes, allfreqs] = std_erspplot(STUDY,ALLEEG,...
>     'channels',{'Cz' 'E1' 'E2' 'E3' 'E4' 'E5' 'E6' 'E7' 'E8' 'E9' 'E10'...
>     'E11' 'E12' 'E13' 'E14' 'E15' 'E16' 'E17' 'E18' 'E19' 'E20' 'E21' ...
>     'E22' 'E23' 'E24' 'E25' 'E26' 'E27' 'E28' 'E29' 'E30' 'E31' 'E32'
> 'E33'...
>     'E34' 'E35' 'E36' 'E37' 'E38' 'E39' 'E40' 'E41' 'E42' 'E43' 'E44'
> 'E45'...
>     'E46' 'E47' 'E48' 'E49' 'E50' 'E51' 'E52' 'E53' 'E54' 'E55' 'E56'
> 'E57'...
>     'E58' 'E59' 'E60' 'E61' 'E62' 'E63' 'E64'});
> %%%
> Has anyone else encountered this issue?
> I am running:
> eeglab 13.4.4b
> Matlab R2014b
> Win 7 x64
> Thank you all,
> --
> Isaiah Innis
> Indiana University '13
> EEG Technician, IUB IRF
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu

Makoto Miyakoshi
Swartz Center for Computational Neuroscience
Institute for Neural Computation, University of California San Diego
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150917/2d7c537e/attachment.html>

More information about the eeglablist mailing list