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.


Create handle to CAN database file


candb = canDatabase('dbfile.dbc')


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


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


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


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

See Also

Introduced in R2009a

Was this topic helpful?