[Eeglablist] Error when plotting std_erspplot

Isaiah Innis isainnis at indiana.edu
Fri Sep 18 09:49:58 PDT 2015


Thank you for responding.

Running 'which -all str2num'
Returned:
%%
C:\Program Files\toolbox\matlab\strfun\str2num.m
C:\Program Files\toolbox\matlab\strfun\@opaque\str2num.m  % opaque method
%%

I'm assuming I should set the path to 'str2num' and not the @opaque folder,
but I don't seem to be able to add one without the other. Is there
something special about '@opaque'?

Thank you,

2015-09-17 22:43 GMT-04:00 Makoto Miyakoshi <mmiyakoshi at ucsd.edu>:

> 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.
>
> Makoto
>
> 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
>



-- 
Isaiah Innis
Indiana University '13
EEG Technician, IUB IRF
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150918/1596acc2/attachment.html>


More information about the eeglablist mailing list