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.

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

Was this topic helpful?