How to extract a value from mat file
Show older comments
I have an EEG.mat file and when I open it, I only see EEG data. However, when I run whos this is what I get
Name Size Bytes Class Attributes
EEG_Data1 5400000x1 43200000 double
Fs 1x1 8 double
L 1x1 8 double
P1 1x501 4008 double
P2 1x1000 8000 double
Is there anyway that I know exactly what the value of Fs. I have tried load EEG_Data1.mat Fs but It returned ' undefined Fs'. I do not understand why. Please help me to explain it. Thank you
Answers (1)
Stephen23
on 12 Oct 2019
S = load(...)
S.Fs
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!