I am considering using Brainstorm for preprocessing my data and then getting an output of all epochs based on their conditions. For example here is my current status, I have my epochs ready to be exported:
And now I just want to export it to matlab in such a way that I get a struct which contains the conditions and epoch labels, for example, accessing a single trial would be like the following:
trial = 1 # looking at trial 1 condition = "3" # based on the trigger label from the raw data subject001.condition.trial
I can be done manually by just exporting to MATLAB and saving the workspace, but is there a direct method for this?