Struct contents reference from a non-struct array object.

I'm trying to access content of Data struct but I get this error I tried Data(bouts_plot) but I got error as well
occupancy_filepath = [participant_folder];
raw_occupancy_data = load(occupancy_filepath);
bouts_plot = raw_occupancy_data.Data.bouts_plot;

Answers (0)

Categories

Find more on MATLAB in Help Center and File Exchange

Tags

Asked:

on 13 Jun 2017

Commented:

on 13 Jun 2017

Community Treasure Hunt

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

Start Hunting!