how to save data from eeglab to .mat

64 views (last 30 days)
shamsah alotibe
shamsah alotibe on 24 Mar 2019
Answered: shamsah alotibe on 25 Mar 2019
Hello everyone
I want to save signals data in eeglab to matfile
what should to do?
I am trying to write save in command window then the data saved in matfile but it could not load to workspace.
please help
  1 Comment
Walter Roberson
Walter Roberson on 24 Mar 2019
Looking around, it looks to me as if you might be able to assign EEG.data to a variable, and then save() the variable to a .mat file.

Sign in to comment.

Answers (2)

shamsah alotibe
shamsah alotibe on 25 Mar 2019
Thank you Walter for your answer
Can you clarify please..
  1 Comment
Walter Roberson
Walter Roberson on 25 Mar 2019
data = EEG.data;
save RQ19x7_5lead data
would save the data content of the EEG structure (from EEGLab) as a variable named "data" stored in RQ19x7_5lead.mat

Sign in to comment.


shamsah alotibe
shamsah alotibe on 25 Mar 2019
Thank you very much Walter
That was very helpful

Categories

Find more on EEG/MEG/ECoG in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!