What problem does it solve?
Setting up vehicle network communication in MATLAB involves vendor-specific channel syntax, bus speed configuration differences, and cryptic failures like missing acknowledgments or BusOff states. This Skill guides an AI agent through the full Vehicle Network Toolbox workflow so users avoid misconfigured channels, silent transmit failures, and unstructured troubleshooting.
Core Features & Use Cases
- Hardware Discovery and Channel Setup: Discover devices with canChannelList and create CAN or CAN FD channels across Vector, Kvaser, PEAK-System, NI, SocketCAN, and MathWorks Virtual hardware with correct vendor-specific syntax.
- Message Exchange and Signal Handling: Transmit (one-shot, periodic, event-based, replay), receive as timetables, filter IDs at the hardware level, and encode/decode signals via DBC databases or pack/unpack.
- Structured Diagnostics: Follow a phased diagnostic workflow covering automated hardware checks, L1 physical-layer triage (termination, ground, bit timing, CAN FD stubs), and L2 traffic analysis with error counter interpretation.
- Use Case: A test engineer connects a Kvaser interface, creates a CAN FD channel at 500k/2M, transmits periodic engine messages with live signal updates via pack, then verifies bus health using TEC/REC counters after every transmit.
Quick Start
Ask the agent to set up a CAN channel on your connected hardware, configure the bus speed, and send a test message while verifying the bus accepted it.