Is it possible to access CAN messages from .dbc file using message ID in the Vehicle Network Toolbox?
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Drew Davis
2015-6-9
编辑:Drew Davis
2015-6-9
3 个评论
Walter Roberson
2015-6-9
create a function CANId2Name that maps message ID to message name and then
canMessage(database, CANId2Name(ID))
?
Vasanthilakshmi Karri
2016-8-8
编辑:Vasanthilakshmi Karri
2016-8-8
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?
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!