Get event information about specific event from A2L file
info = getEventInfo(a2lFile,eventName)
Create a handle to parse an A2L file and get information about the
'10 ms' event.
a2lfile = xcpA2L('C:\XCPSIM.a2l') info = getEventInfo(a2lfile,'10 ms')
info = Event with properties: Name: '10 ms' Direction: 'DAQ_STIM' MaxDAQList: 255 ChannelNumber: 1 ChannelTimeCycle: 10 ChannelTimeUnit: 6 ChannelPriority: 0 ChannelTimeCycleInSeconds: 0.0100
eventName— XCP event name
XCP event name, specified as a character vector or string. Make sure
eventName matches the corresponding event name defined in
your A2L file.
info— XCP event information
XCP event information, returned as xcp.Event object, containing event details such as timing and priority.