Skip to Main Content Skip to Search
Product Documentation

Database - Store CAN database information

Description

The Database property stores information about an attached CAN database.

Characteristics

Usage

CAN channel, CAN message

Read only

For a CAN message property

Data type

Database handle

Values

This property displays the database information that your CAN channel or CAN message is attached to. This property displays an empty structure, [ ], if your channel message is not attached to a database. You can edit the CAN channel property, Database, but cannot edit the CAN message property.

Examples

To see information about the database attached to your CAN message, type:

message.Database

To set the database information on your CAN channel to C:\Database.dbc, type:

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

See Also

Functions

attachDatabase, canChannel, canDatabase, 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