| Contents | Index |
attachDatabase (message, database)
attachDatabase (message, [])
attachDatabase (message, database) 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.
attachDatabase (message, []) removes any attached database from the specified message. You can then interpret messages in their raw form.
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.
candb = canDatabase('C:\Database.dbc')
message = receive(canch, Inf)
attachDatabase(message, candb)

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 |