[Eeglablist] Importing mat files into eeglab in matlab

Simon-Shlomo Poil poil.simonshlomo at gmail.com
Thu Jul 2 04:46:32 PDT 2015


Dear Maciel,

You need to use the GUI to load the array, just as you did before
File>>Import Data>> Using EEGLab functions and plugins>>from ASCII/float
file or Matlab array

Just write the name of the matrix in the workspace and select "Matlab array"

-Simon

--
Simon-Shlomo Poil, Dr.
LinkedIn profile: http://ch.linkedin.com/in/simonshlomopoil/

Need help with your EEG analysis? Outsource your EEG analysis to NBT
Analytics: http://l.nbtwiki.net/1FrE4if

The Neurophysiological Biomarker Toolbox (NBT): http://www.nbtwiki.net

My latest publications:
Subcortical Glutamate Mediates the Reduction of Short-Range Functional
Connectivity with Age in a Developmental Cohort:
http://l.nbtwiki.net/1LnYs92

Integrative EEG biomarkers predict progression to Alzheimer's disease at
the MCI stage: http://l.nbtwiki.net/19jMuy8


2015-07-02 5:29 GMT+02:00 Renato M. Maciel <rmacielrm at gmail.com>:

> Dear Simon, I am using this alternative way that you pointed out to me,
> loading my files, arrays into my mat file. It works so fine, until the
> moment I need to run the eeglab function, then it has crashed. What I'm
> doing: I have loaded my mat file, then it appears in my matlab workspace. I
> have a channel called AMY (it is one array) then I have been trying to load
> this array typing >> eeglab(AMY), and my matlab is crashing for that.
> Initially I am running just eeglab function in matlab prompt. The GUI
> interface open but I cannot set it up.
>
> Do you have any more idea?
>
> Thanks again,
> Maciel
>
> On 1 July 2015 at 20:49, Simon-Shlomo Poil <poil.simonshlomo at gmail.com>
> wrote:
>
>> Dear Maciel,
>>
>> Try to just load the .mat file in Matlab using the load command.
>>
>> Then I assume you will see a matrix in the workspace. Try to import this
>> matrix instead using the same function as you used above.
>>
>> Hope it works.
>>
>> Best wishes,
>> Simon
>>
>> --
>> Simon-Shlomo Poil, Dr.
>> LinkedIn profile: http://ch.linkedin.com/in/simonshlomopoil/
>>
>> Need help with your EEG analysis? Outsource your EEG analysis to NBT
>> Analytics: http://l.nbtwiki.net/1FrE4if
>>
>> The Neurophysiological Biomarker Toolbox (NBT): http://www.nbtwiki.net
>>
>> My latest publications:
>> Subcortical Glutamate Mediates the Reduction of Short-Range Functional
>> Connectivity with Age in a Developmental Cohort:
>> http://l.nbtwiki.net/1LnYs92
>>
>> Integrative EEG biomarkers predict progression to Alzheimer's disease at
>> the MCI stage: http://l.nbtwiki.net/19jMuy8
>>
>>
>> 2015-06-30 18:26 GMT+02:00 Renato M. Maciel <rmacielrm at gmail.com>:
>>
>>>  Dears, good evening!
>>>
>>> I wish I could import mat files in EEGLab, for some reason I could not
>>> do that. I already have some experience with Matlab, however it is
>>> happening something that i cannot understand well. To better explain it, I
>>> am using the EEGLab GUI following these instructions: File>>Import Data>>
>>> Using EEGLab functions and plugins>>from ASCII/float file or Matlab array,
>>> after that I am setting my sample rate (1000 Hz) and who many channels I
>>> have used (5 brain's regions), also I am setting the browse path (to eeglab
>>> recognise where is my file and then I click in OK. Nothing is happening
>>> after that.
>>>
>>>  What Am I doing wrong?
>>>
>>>  Thanks in advance.
>>>  Maciel R.
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20150702/a131273b/attachment.html>


More information about the eeglablist mailing list