Hello,
I've written a detector that is able to detect and classify events, and I would like to be able to display the classification along with the event location when the log file is displayed. I am using XBAT DEVEL (SVN 483) and Matlab 7.0.1. I see that within "event(i).annotation.value" there is room for both "code" and "value". When trying to set those values, I've been unable to get either strings or integers to display on each event when viewing a log, even when selecting to view "simple" annotations. Instead, all I see displayed is the event number. Do you have any suggestions for how to go about doing this? Also, how do I go about keeping the event numbers from being displayed?
Thank you,
--Scott Brandes
Thanks for your help Harold. I think I'm getting close, but I have 2 questions:
1) What is the difference between these 2 lines:
set_tags(event, {'tag1', 'tag2'});
event.tags = {'tag1', 'tag2'};
I am only able to get this to work when I use the second way.
2) I get the first tag to display when checking
the "On" box in the "Active" tab, but not when I scan and save to a log. Only the event numbers are displayed. However, when I load the Log file into the
workspace, I see that all of the tags are properly assigned for each event. What am I doing wrong?
Thank you,
Scott
Thanks for your help Harold. I think I'm getting close, but I have 2 questions:
1) What is the difference between these 2 lines:
set_tags(event, {'tag1', 'tag2'});
event.tags = {'tag1', 'tag2'};
I am only able to get this to work when I use the second way.
2) I get the first tag to display when checking the "On" box in the "Active" tab, but not when I scan and save to a log. Only the event numbers are displayed. However, when I load the Log file into the workspace, I see that all of the tags are properly assigned for each event. What am I doing wrong?