Main Content

blfinfo

Get information about Vector BLF file

Description

binf = blfinfo(blfFile) parses general information about the format and contents of a Vector Binary Logging Format (BLF) file and returns the information in the structure binf.

example

Examples

collapse all

Retrieve and view information about a BLF file.

binf = blfinfo("c:\DataFiles\MultiChannelFile.blf")
binf = 

  struct with fields:

                  Name: "MultiChannelFile.blf"
                  Path: "c:\DataFiles\MultiChannelFile.blf"
           Application: "CANalyzer"
    ApplicationVersion: "10.0.114"
               Objects: 35
             StartTime: 18-Jul-2018 16:47:11.490
               EndTime: 18-Jul-2018 16:47:18.490
           ChannelList: [2×3 table]
binf.ChannelList
ans =

  2×3 table

    ChannelID    Protocol    Objects
    _________    ________    _______

        1        "CAN FD"       4   
        2        "CAN"          4   

Input Arguments

collapse all

Path to BLF file, specified as a string or character vector. The value can specify a file in the current folder, or a relative or full path name.

Example: "MultipleChannelFile.blf"

Data Types: char | string

Output Arguments

collapse all

Information from BLF file, returned as a structure with the following fields.

Name
Path
Application
ApplicationVersion
Objects
StartTime
EndTime
ChannelList

Version History

Introduced in R2019a

See Also

Functions