How do I continue a path?

Hello there, I'm a MATLAB beginner and started working with it a few weeks ago.
There is data I have to analyse. I created a FOR loop to check my data and plot it.
I have this path:
data = electrophysiology{1, 1}.left.recordings{1, 1}.macro_recordings.eeg
but I need it to split at: data = electrophysiology{1, 1}.left.recordings , because here I have 3 structs of recordings. I want it to to check all 3 recording structs for each macro_recording.eeg, how do I do that?
Thanks!

3 件のコメント

Image Analyst
Image Analyst 2020 年 7 月 20 日
What is electrophysiology? If it's a structure array you wouldn't use braces. Is it a cell array with a structure inside each cell? What does
whos electrophysiology
say? Can you attach electrophysiology in a .mat file? And why can't you just do
data = electrophysiology{1, 1}.left.recordings
like you said?
Adam Danz
Adam Danz 2020 年 7 月 20 日
Could you show us the 3 structs? For example, is it
data = electrophysiology{1, 1}
data = electrophysiology{2, 1}
data = electrophysiology{3, 1}
or is it
data = electrophysiology{1, 1}.left
data = electrophysiology{1, 1}.right
data = electrophysiology{1, 1}.both
or something else?
Dinesh Yadav
Dinesh Yadav 2020 年 7 月 23 日
It would be easier for us to help if you could reply to what Image Analyst and Adam Danz's questions.

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeData Types についてさらに検索

質問済み:

2020 年 7 月 20 日

コメント済み:

2020 年 7 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by