You can write a script in MATLAB to check the name of the extracted bin from the EEG structure by accessing the 'setname' field of the specific bin. If there are multiple bins in the file, you can iterate over each bin and check their names. Here is an example code snippet to achieve this:
main.m631 chars17 lines
You can adapt and modify this code snippet according to your specific needs and EEG structure.
gistlibby LogSnag