Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Retrieve subject name in data

Is there somewhere in the session data where I can find the name of the subject that trained? I would like to load one of the files that is saved at the end of the session to matlab and then retrieve the name of the subject, can that be done?

Thank you!
Hi Veronica, 

It's not saved explicitly in the data struct, but the file name contains the subject name - so you can parse it out. This line should do it:

SubjectName = FileName(1:find(FileName== '_', 1)-1)
Thanks Josh!

Forum Jump: