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

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!
Veronica
Reply
#2
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)
Reply
#3
Thanks Josh!
Reply


Forum Jump: