How can I create or edit a CAN database DBC file and its defined CAN messages and signals?

355 views (last 30 days)
Does MATLAB provide functionality to
  • create a new CAN database DBC file, or
  • edit and existing DBC file to add new messages or edit the message and signals definitions?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Jul 2020
Edited: MathWorks Support Team on 21 Jul 2020
Vehicle Network Toolbox provides functionality related to CAN database DBC files, such as
  • canDatabase, messageInfo, signalInfo to access a *.dbc file (CAN message and signals definitions)
  • canMessage, attachDatabase to create and decode message signals based on the definitions in a CAN database DBC file.
It is not currently possible to create or edit a CAN database DBC file with MATLAB.
This can be done with a free 3rd party tool, Vector CANdb++ editor:
Vector CANdb++ editor is installed with the demo version of CANalyzer / CANoe, which can be downloaded from the Vector website:

More Answers (0)

Products


Release

R2013b

Community Treasure Hunt

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

Start Hunting!