Skip to Main Content Skip to Search
Product Documentation

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
SignalsDisplay physical signals defined in CAN message
UserDataEnter custom data

Examples

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

See Also

canMessage

  


Recommended Products

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS