How to read CAN log file (.asc) more precisely

81 visualizaciones (últimos 30 días)
Jeanyee. S
Jeanyee. S el 22 de Feb. de 2022
Respondida: Jeanyee. S el 22 de Feb. de 2022
Hello, I have read the CAN log file by excuteing the code following:
>> db = canDatabase('myCANdata.dbc');
>> sigtimetable = canSignalImport('01.asc','Vector',db)
However MATLAB only keeps 3 decimal places, while my original data recorded 6 decimal places.
The time accuracy is very important to my project.
How can I read the CAN log file .asc in a higher accuracy?

Respuesta aceptada

Jeanyee. S
Jeanyee. S el 22 de Feb. de 2022
>> format long
>> db = canDatabase('myCANdata.dbc');
>> sigtimetable = canSignalImport('01.asc','Vector',db)

Más respuestas (0)

Productos


Versión

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by