Load only specific substructures from a mega-structure.

4 Ansichten (letzte 30 Tage)
Orestis Stylianou
Orestis Stylianou am 12 Jun. 2020
Hello,
So I have many .mat files each one consisting of one structure (data) that contains another structure (files) which contains multiple other structures (segment01,segment02 and so on).
Let's say I want to access only a specific segment, eg. segment01. I have to load the .mat file and then do something like segment01=data.files.segment01.
This takes a lot of time. I know that if I had my .mat in the form data.Segment01, data.Segment02 etc I would easily load only a speciifc substructure but I do not know how to access only data.files.Segment01. Is there any way?
Thanks
  4 Kommentare
darova
darova am 12 Jun. 2020
You can't load only part of data
Orestis Stylianou
Orestis Stylianou am 12 Jun. 2020
I see... Thanks for letting me know

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Kategorien

Mehr zu File Operations finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by