attachDatabase
Attach CAN database to messages and remove CAN database from messages
Description
attachDatabase (
attaches the specified database to the specified message. You can then use
signal-based interaction with the message data, interpreting the message in its
physical form.message
,database
)
attachDatabase (
removes any
attached database from the specified message. You can then interpret messages in
their raw form.message
,[])
Examples
Input Arguments
Tips
If the specified message is an array, then the database attaches itself to each entry
in the array. The database attaches itself to the message even if the message you
specified does not exist in the database. The message then appears and operates like a
raw message. To attach the database to the CAN channel directly, edit the
Database
property of the channel object.
Version History
Introduced in R2009a