[Eeglablist] Help with viewing output from ASR

Johnson, John T. john.johnson at gatech.edu
Fri Jul 20 05:19:17 PDT 2018


Hi Kelly,

I find that the strjoin error is caused by having eeglab or other folders listed before MATLAB folders in the path settings. You can tell if this is so by typing ‘which strjoin’ at the command prompt. You should see ‘…/matlab/strfun/strjoin.m’. If you see something else, that means that the variable display in matlab is using the wrong strjoin function. Go to the Home tab, Set Path, and move all the MATLAB folders to the top. (You can shift-select to make this easier.)

Regards,
John

John T. Johnson
PhD Student - Applied Physiology
Georgia Institute of Technology
john.johnson at gatech.edu
678.575.2093


via Newton Mail<https://cloudmagic.com/k/d/mailapp?ct=dx&cv=9.8.415&pv=10.13.6&source=email_footer_2>

On Thu, Jul 19, 2018 at 8:12 PM, Kelly Michaelis <kcmichaelis at gmail.com> wrote:
Dear list,

I'm fairly new to EEG, and I'm trying to implement ASR on my data, on which I plan to perform time-frequency analyses. I have everything installed and I've been following the ASR preprocssing pipeline recommended by Makoto.<https://sccn.ucsd.edu/wiki/Makoto's_preprocessing_pipeline#Alternatively.2C_cleaning_continuous_data_using_ASR_.2803.2F16.2F2018_updated.29> This is on Mac OSSierra and I'm using EEGLAB v14_1_2b and Matlab 2016b.

I'm getting both the strjoin error with Cleanline that others have reported, and I get a visartifacts error from ASR, meaning I can't view the output from ASR to compare the original data with the ASR-cleaned data. I have tried the published fixes I could find for these errors, and nothing has worked. More details below.

1. Cleanline error: after installing Cleanline, any time I try to view a variable in the matlab workspace by clicking on it, a dialog box pops up that says

"readonly
Expected input to be one of these types:
char
Instead it's type was cell.
strjoin
14"


I have seen this posted here (https://sccn.ucsd.edu/pipermail/eeglablist/2017/013003.html) and here (https://sccn.ucsd.edu/bugzilla/show_bug.cgi?id=1793). The bugfix says to add some code in cleanline at line 13, but if I open cleanline.m I don't understand where to add this, as line 13 is all comments. What am I missing?


2. ASR visartifacts error - the output is below. I have seen a couple posts about similar errors, but haven't found a fix. Can someone help? If I uncheck the last box in ASR ("show results for comparison) I don't get any output and I'm not sure how to view the rejected vs. original data. Can someone help?

OUTPUT:

Now doing final post-cleanup of the output.
Determining time window rejection thresholds...done.
Keeping 92.5% (3915 seconds) of the data.
eeg_insertbound(): 175 boundary (break) events added.
eeg_insertbound(): event latencies recomputed and 255 events removed.
Event resorted by increasing latencies.
Event resorted by increasing latencies.
Use vis_artifacts to compare the cleaned data to the original.
Undefined function or variable 'hFig'.

Error in vis_artifacts/on_resize (line 300)
        wPos = get(hFig,'Position');

Error in vis_artifacts/on_window_resized (line 311)
        on_resize();

Error using vis_artifacts (line 158)
Error while evaluating Figure SizeChangedFcn
You might see this error due to a behavior change in the ResizeFcn callback.
See ResizeFcn Returns Error After GUI Launches for more information.

Current plot held
Warning: vis_artifacts failed. Skipping visualization.
> In pop_clean_rawdata (line 129)
Done.


Thank you!
Kelly



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20180720/5776fbfb/attachment.html>


More information about the eeglablist mailing list