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

58 ビュー (過去 30 日間)
Jeanyee. S
Jeanyee. S 2022 年 2 月 22 日
回答済み: Jeanyee. S 2022 年 2 月 22 日
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?

採用された回答

Jeanyee. S
Jeanyee. S 2022 年 2 月 22 日
>> format long
>> db = canDatabase('myCANdata.dbc');
>> sigtimetable = canSignalImport('01.asc','Vector',db)

その他の回答 (0 件)

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by