blfread can't Parse BLF channel Data based on CANFD, why?

9 次查看(过去 30 天)
When I use matlab R2019a to parse CAN blf Data,
Code: blfread("myfile.blf", "Database", candbc)
error: matrix dim must be same
When I use Matlab R2019b to parse CAN blf Data:
Code: blfread("myfile.blf", "Database", candbc)
There is no error, But I can't parse CANFD channel Data, the details is:
channel 1: “CAN”, [m*n]
channel 2: “CAN”,[m*n]
channel 3: "CANFD", []
there is no data in channel 3, but I use CANoe to parse the same blf file, there is many MSG data in channel 3.
Why? and how to solve this problem?
  1 个评论
Song Tao
Song Tao 2021-7-27
Hello,
I meet the same problem. blfread may not support CAN FD frame.
Have you solved the problem?

请先登录,再进行评论。

回答(1 个)

Pratik
Pratik 2024-12-19
Hi Steve,
I too faced similar issue. Upgrading to version R2020b solved the issue, it should be working for R2020b and beyond.

类别

Help CenterFile Exchange 中查找有关 Software Development Tools 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by