How to extract a value from mat file

조회 수: 1 (최근 30일)
Nguyen Nguyen
Nguyen Nguyen 2019년 10월 12일
답변: Stephen23 2019년 10월 12일
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

답변 (1개)

Stephen23
Stephen23 2019년 10월 12일
S = load(...)
S.Fs

카테고리

Help CenterFile Exchange에서 EEG/MEG/ECoG에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by