Clear Filters
Clear Filters

Is it possible to access CAN messages from .dbc file using message ID in the Vehicle Network Toolbox?

2 views (last 30 days)
I would like to access and send messages with the structures the database file using message ID (they are short to type and remember) instead of message name and possibly change signal values before sending. I know it can be done using message name but would like to do with the IDs. Is it possible to do that?

Accepted Answer

Drew Davis
Drew Davis on 9 Jun 2015
Edited: Drew Davis on 9 Jun 2015
The canMessage API allows you to do this
  3 Comments
Vasanthilakshmi Karri
Vasanthilakshmi Karri on 8 Aug 2016
Edited: Vasanthilakshmi Karri on 8 Aug 2016
I have the same application and I am new to CAN. I am not quite sure how to create this function CANId2Name. Do you have any sample code?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!