[Eeglablist] using fucntions for .mat files
Tarik S Bel-Bahar
tarikbelbahar at gmail.com
Thu Sep 15 13:47:18 PDT 2016
Hello Nasrin, some notes below, best wishes.
If you imported the matlab data successfully into eeglab, then you should
be able to use the functions. If you want more suggestions or did not have
success with importing your matlab data, try to send some more details
including a sample file and descriptions of your steps. There are range of
i/o functions in eeglab including from the biosig toolbox, which should
altogether meet your needs.
Once you have your data in eeglab, it should live inside the EEG variable
as EEG.data.
The EEG.data variable is a matrix of channels X time, or channels X time X
epochs. You can just take that matrix and do what you would like to it in
matlab, outside of eeglab.
If you haven't had a chance to, please review the online eeglab tutorial
and the eeglab matlab structure details there.
Technically, if you have an active eeglab .set file in eeglab/matlab
memory, you can also try to make a new EEG structure (call it EEG2 for
example). Then you can try to change the data in there, and put in your
"original matlab data" into EEG2.data. This way, you can try to trick
eeglab into reading your file. But a proper "correct" import is recommended
of course.
Alternatively you can find the version of your data that is in it's native
eeg format, not matlab format, and then try importing that. If its from a
major eeg manufacturer, eeglab and the eeglab user community should already
have an import function for it available (e.g., EGI, biosemi).
You may also benefit from googling "eeglablist" plus your "topic", such as
"eeglablist import matlab" or "eeglab import".
All past eeglablist posts are searchable this way. Your topic has come up
before a few times.
On Tue, Sep 13, 2016 at 7:52 AM, nasrin maarefi <n_maarefi at yahoo.com> wrote:
> Hello
> I want to use the eeglab functions for my dataset which is in format of
> .mat. I imported my data into eeglab using GUI but I cannot use any of
> functions for that. How can I convert my data to .set which is appropriate
> for eeglab environment? Actually I want use eeglab for some processing and
> use them again for next functions in matlab. I really appreciate you if
> you guide me. There is no hint for this in tutorials. They just explane
> importing .mat files not processing on them.
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sccn.ucsd.edu/pipermail/eeglablist/attachments/20160915/c3363bfa/attachment.html>
More information about the eeglablist
mailing list