Documentation Center

  • Trial Software
  • Product Updates

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

MessagesStore message names from CAN database
Name (Database)CAN database name
PathDisplay CAN database directory path
UserDataEnter custom data

Examples

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

See Also

Was this topic helpful?