Is it possible to access CAN messages from .dbc file using message ID in the Vehicle Network Toolbox?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Bhim Khanal
am 8 Jun. 2015
Bearbeitet: Vasanthilakshmi Karri
am 8 Aug. 2016
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?
0 Kommentare
Akzeptierte Antwort
Drew Davis
am 9 Jun. 2015
Bearbeitet: Drew Davis
am 9 Jun. 2015
3 Kommentare
Walter Roberson
am 9 Jun. 2015
create a function CANId2Name that maps message ID to message name and then
canMessage(database, CANId2Name(ID))
?
Vasanthilakshmi Karri
am 8 Aug. 2016
Bearbeitet: Vasanthilakshmi Karri
am 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?
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Vehicle Network Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!