AttributeInfo

Information on CAN database attributes

Description

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

Characteristics

Usage

CAN database

Read only

Always

Data type

Structure

Values

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

Examples

Display Database Attribute Information

db  = canDatabase('J1939DB.dbc');
db.AttributeInfo
3×1 struct array with fields:
    Name
    ObjectType
    DataType
    DefaultValue
    Value
db.AttributeInfo(1).Name
BusType
db.AttributeInfo(1).Value
CAN

See Also

Functions

Properties