Communication in MATLAB
Configure CAN hardware; send and receive messages on a
              network
Hardware connection functions define a connection to a CAN interface hardware that establishes a physical connection to a CAN bus. The CAN Transmit Workflow shows how to pack and transmit CAN messages with MATLAB®. You can also employ event-based message transmission; load and replay messages. The CAN Receive Workflow shows how to receive and unpack CAN messages.
For building Simulink® models that use CAN blocks to transmit and receive messages on the network, see Communication in Simulink.
Functions
Properties
Topics
CAN Messages
- Transmit and Receive CAN Messages
 Discover CAN devices and communicate over a network.
- Filter Messages
 Set up filters to accept messages based on specified parameters.
- Configure Silent Mode
 Observe and analyze message activity without affecting the network state or behavior.
- Multiplex Signals
 Use multiplexing to represent multiple signals in one signal location in a CAN message’s data.
- MathWorks Virtual Channels
 Emulate virtual CAN channels provided with the toolbox.
Message Database
- Load .dbc Files and Create Messages
 Access message and signal information in a CAN database.
- View Message Information in a CAN Database
 Look up information on message definitions.
- View Signal Information in a CAN Message
 Get signal definition information on a specific signal or all signals in a CAN message with database definitions attached.
- Attach a CAN Database to Existing Messages
 You can attach a database file to messages and apply the message definition defined in the database.











