Documentation

This is machine translation

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

canDatabase

Create handle to CAN database file

Syntax

candb = canDatabase('dbfile.dbc')

Description

candb = canDatabase('dbfile.dbc') creates a handle to the specified database file dbfile.dbc. You can specify just a file name, a full path, or a relative path. MATLAB® looks for dbfile.dbc on the MATLAB path. Vehicle Network Toolbox™ supports the Vector CAN database (.dbc) files.

Input Arguments

dbfile.dbc

Database file name. You can specify just the name or the full path of the database file.

Properties

AttributeInfoInformation on CAN database attributes
AttributesAttribute names from CAN database
MessageInfoInformation on CAN database messages
MessagesMessage names from CAN database
Name (Database)CAN database name
NodeInfoInformation on CAN database nodes
NodesNode names from CAN database
PathCAN database folder path
SignalInfoInformation on CAN database message signals
UserDataEnter custom data

Examples

candb = canDatabase('C:\Database.dbc')

See Also

Introduced in R2009a

Was this topic helpful?