Get information about specific measurement from A2L file
info = getMeasurementInfo(a2lFile,measurementName)
Create a handle to parse an A2L file and get
information about the
a2lfile = xcpA2L('C:\XCPSIM.a2l') info = getMeasurementInfo(a2lfile, 'PWM')
info = Name: 'PWM' LongIdentifier: 'Pulse width signal from PWM_level and Triangle' DataType: 'UBYTE' Conversion: 'HighLow' Resolution: 0 Accuracy: 0 LowerLimit: 0 UpperLimit: 255 ECUAddress: 4951352 ECUAddressExtension: 0 ByteOrder: 'MSB_LAST' SizeInBytes: 1 SizeInNibbles: 2 SizeInBits: 8 MATLABType: 'uint8'
measurementName— Name of single XCP measurement
Name of a single XCP measurement specified as a character vector or string. Make
measurementName matches the corresponding measurement name
defined in your A2L file.
info— XCP measurement information
XCP measurement information, specified as character vector and numeric values, containing measurement details such as memory address, units, and description.