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 Center および File ExchangeEEG/MEG/ECoG についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by