MessageInfo

Information on CAN database messages

Description

The MessageInfo property is a structure with information about all messages defined in the specified CAN database.

Characteristics

Usage

CAN database

Read only

Always

Data type

Structure

Values

The MessageInfo property is a read-only structure. Use indexing to access the information of each message.

Examples

Display Database Message Information

db  = canDatabase('J1939DB.dbc');
db.MessageInfo
3×1 struct array with fields:
    Name
    Comment
    ID
    Extended
    J1939
    Length
    Signals
    SignalInfo
    TxNodes
    Attributes
    AttributeInfo
db.MessageInfo(1).Name
A1
db.MessageInfo(1).Signals
    'EngBlowerBypassValvePos'
    'EngGasSupplyPress'