How can I modify and update the DBC file in Matlab&Simulink environment?
12 次查看(过去 30 天)
显示 更早的评论
I have a Simulink model in which some ECUs are connected via CAN bus based on a DBC file. I would like to be able to add a new ECU in generic way without updating the DBC file manually. The only way I can guess is to open the DBC text file in Matlab, then parse it, change the related parts and update it to model. However I don’t know how exactly! Any idea? Is there any simpler way to modify and update the DBC file automatically as soon as new module is added?
1 个评论
laura medhurst
2022-2-12
Hi, I hope you did get an answer for your question somewhere and it solved your problem.
I have a question for you and it would be so helpful if you could offer some assistance: I am working on a very similar project where me and team are trying to create an eletric vehicle in Simulink and connect the modules (ECU, BMS) via CAN bus and inputting a DBC file collected from an actual vehicle to provide validation between the real and simulation.
I'm not sure how to link the modules via the CAN virtual channels - would you be able to offer some help?
It would be really appreciated.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Vehicle Network Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!