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

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 Comment

Hello,
I meet the same problem. blfread may not support CAN FD frame.
Have you solved the problem?

Sign in to comment.

Answers (1)

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

Tags

Asked:

on 12 Mar 2020

Answered:

on 19 Dec 2024

Community Treasure Hunt

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

Start Hunting!