matlab/matlab-agentic-toolkit / skills-catalog/test-and-measurement/matlab-import-export-vehicle-data
matlab-import-export-vehicle-data
VerifiedUse when importing or exporting vehicle data from/to log files (MDF/MF4/DAT, BLF, ASC/TXT), decoding CAN/CAN FD/LIN messages to signals via DBC, ARXML, or LDF databases, writing timetable data to MDF or BLF files, or calling blfread, blfinfo, blfwrite, mdfRead, mdfWrite, mdfCreate, mdfInfo, canSignalImport, canMessageImport, canMessageTimetable, canFDMessageTimetable, canSignalTimetable, or linMessageTimetable.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 11.4 KB |
| manifest.yaml | config | 661 B |
| references/asc-import.md | markdown | 3.4 KB |
| references/blf-import.md | markdown | 3.6 KB |
| references/blf-writing.md | markdown | 7.5 KB |
| references/can-decode.md | markdown | 2.0 KB |
| references/canfd-decode.md | markdown | 1.9 KB |
| references/database-objects.md | markdown | 2.4 KB |
| references/dbc-multiplexing-syntax.md | markdown | 4.9 KB |
| references/lin-decode.md | markdown | 2.0 KB |
| references/mdf-import.md | markdown | 4.4 KB |
| references/mdf-writing.md | markdown | 7.3 KB |
| references/simple-demultiplexing.md | markdown | 4.8 KB |
references/can-decode.md
View on GitHub# CAN Decode: canMessageTimetable and canSignalTimetable
For function syntax, run `help canMessageTimetable` or `help canSignalTimetable` in MATLAB.
## Pipeline
```matlab
db = canDatabase("file.dbc");
msgTT = canMessageTimetable(tt, db);
signals = canSignalTimetable(msgTT);
```
`canMessageTimetable` converts raw CAN data (from mdfRead, blfread, or can.Message arrays) into a decoded message timetable. `canSignalTimetable` then extracts individual signal timetables.
## canMessageTimetable Behavior
Accepts:
- A raw timetable from `mdfRead` (containing `CAN_DataFrame.*` columns)
- A CAN message timetable from `blfread` (with `Database=` specified)
- A `can.Message` array (legacy)
Returns a timetable with columns: `ID`, `Extended`, `Name`, `Data`, `Length`, `Signals`, `Error`, `Remote`.
**Database compatibility:**
- `canDatabase` (DBC) -- fully supported
- `arxmlDatabase` (ARXML) -- fully supported (R2025a+)
**Error handling:** Throws if the database doesn't contain definitions matching the message IDs in the timetable. Always wrap with try/catch:
```matlab
try
msgTT = canMessageTimetable(tt, db);
signals = canSignalTimetable(msgTT);
catch
signals = tt;
end
```
## canSignalTimetable Behavior
Returns a **struct of timetables** -- one field per decoded message. Each field contains a timetable with signal columns.
```matlab
signals = canSignalTimetable(msgTT);
% signals.EngineData → timetable with columns: EngineSpeed, EngineLoad, etc.
% signals.ABSdata → timetable with columns: WheelSpeed_FL, WheelSpeed_FR, etc.
```
Filter to specific messages:
```matlab
signals = canSignalTimetable(msgTT, "EngineData");
signals = canSignalTimetable(msgTT, {'ABSdata', 'EngineData'});
```
**Also accepts CAN FD message timetables** (output of `canFDMessageTimetable`). There is no separate `canFDSignalTimetable` function.
## Multiple Databases
```matlab
db1 = canDatabase("powertrain.dbc");
db2 = canDatabase("chassis.dbc");
msgTT = canMessageTimetable(tt, [db1, db2]);
```
----
Copyright 2026 The MathWorks, Inc.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| deprecation-and-migrationaddyosmani/agent-skillsManages deprecation and migration. Use when removing old systems, APIs, or features. Use when migrating users from one implementation to another. Use when migrating a database schema in production, such as renaming or dropping a column without downtime (expand/contract). Use when deciding whether to maintain or sunset existing code. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| performance-optimizationaddyosmani/agent-skillsOptimizes application performance across frontend, backend, queries, and databases. Use when performance requirements exist, when you suspect performance regressions, when Core Web Vitals or load times need improvement, when N+1 query patterns need fixing, or when profiling reveals bottlenecks. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Unverified | Install |
| agent-cost-reportthedotmack/claude-memBelievable agent cost report for any period, default the last 7 full days PT, not counting today. Measured tokens from Claude Code transcripts priced at OpenRouter list prices (ESTIMATED), measured provider spend when a sanctioned source exists, note-taker cost separate, Timing-style HTML/PDF plus report.json, line-items.csv, evidence.json. | Stars: 118k | Updated | Claude CodeCodex | Unverified | Install |