Vehicle Network Toolbox

Description

Working with Vector CAN Database Files

In MATLAB or Simulink, you can associate a Vector CAN database file with a CAN channel or message, enabling you to encode and decode CAN messages using application-specific message and signal names, such as EngineMsg and EngineRPM, as well as scaled engineering units. The ability to work with industry-standard database files simplifies the interaction with the CAN bus because the database not only specifies the message list and component signals, but also provides the bit packing and unpacking rules for the associated signals. Because signal data type, start bit, length, and byte order are all predefined for the messages in the database, you can focus on analyzing your signals rather than on defining them.