MATLAB 도움말 센터
Get event information about specific event from A2L file
info = getEventInfo(a2lFile,eventName)
info = getEventInfo(a2lFile,eventName) returns information about the specified event from the specified A2L file, and stores it in the xcp.Event object, info.
info
a2lFile
eventName
xcp.Event
example
collapse all
Create a handle to parse an A2L file and get information about the '10 ms' event.
'10 ms'
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
xcp.A2L
A2L file, specified as an xcp.A2L object, used in this connection. You can create an xcp.A2L file object using xcpA2L.
xcpA2L
XCP event name, specified as a character vector or string. Make sure eventName matches the corresponding event name defined in your A2L file.
XCP event information, returned as xcp.Event object, containing event details such as timing and priority.
Introduced in R2013a
getCharacteristicInfo
getMeasurementInfo
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 MathWorks 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의