MATLAB 도움말 센터
이 페이지는 기계 번역을 사용하여 번역되었습니다. 영어 원문을 보려면 여기를 클릭하십시오.
A2L 파일 액세스
a2lfile = xcpA2L(filename)
a2lfile = xcpA2L(filename)는 A2L 파일에 액세스하는 객체를 생성합니다. 해당 객체는 파일 내용을 구문 분석하고 이벤트 및 메저먼트 정보를 확인할 수 있습니다.
a2lfile
filename
예제
모두 축소
A2L 파일 객체를 생성하십시오.
a2lfile = xcpA2L('XCPSIM.a2l')
a2lfile = A2L with properties: File Details FileName: 'XCPSIM.a2l' FilePath: 'c:\XCPSIM.a2l' ServerName: 'CPP' Warnings: [0×0 string] Parameter Details Events: {1×6 cell} EventInfo: [1×6 xcp.a2l.Event] Measurements: {1×45 cell} MeasurementInfo: [45×1 containers.Map] Characteristics: {1×16 cell} CharacteristicInfo: [16×1 containers.Map] AxisInfo: [1×1 containers.Map] RecordLayouts: [41×1 containers.Map] CompuMethods: [15×1 containers.Map] CompuTabs: [0×1 containers.Map] CompuVTabs: [2×1 containers.Map] XCP Protocol Details ProtocolLayerInfo: [1×1 xcp.a2l.ProtocolLayer] DAQInfo: [1×1 xcp.a2l.DAQ] TransportLayerCANInfo: [1×1 xcp.a2l.XCPonCAN] TransportLayerUDPInfo: [1×1 xcp.a2l.XCPonIP] TransportLayerTCPInfo: [0×0 xcp.a2l.XCPonIP]
A2L 파일 이름으로, 문자형 벡터 또는 string형으로 지정됩니다. 파일 이름에 .a2l로 끝나는 파일을 반드시 제공해야 합니다. 파일 이름과 함께 파일의 부분 경로 또는 전체 경로를 지정할 수도 있습니다.
.a2l
데이터형: char | string
char
string
xcp.A2L
A2L 파일, xcp.A2L 객체로 반환되며, xcp.A2L Properties를 포함합니다.
R2013a에 개발됨
xcpChannel
getEventInfo
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 사이트 방문이 최적화되지 않았습니다.
미주
유럽
아시아 태평양
지역별 지사에 문의