How to extract a value from mat file

1 visualización (últimos 30 días)
Nguyen Nguyen
Nguyen Nguyen el 12 de Oct. de 2019
Respondida: Stephen23 el 12 de Oct. de 2019
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

Respuestas (1)

Stephen23
Stephen23 el 12 de Oct. de 2019
S = load(...)
S.Fs

Categorías

Más información sobre EEG/MEG/ECoG en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by