Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

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'
Was this topic helpful?