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!