matlab/matlab-agentic-toolkit / skills-catalog/automotive/matlab-fit-tire-model
matlab-fit-tire-model
VerifiedFit a tire model (Magic Formula 6.2/5.2/5.1, Dugoff, or Fiala) to measured tire force and moment data using the Vehicle Dynamics Blockset Extended Tire Features API (tireData.import, tireModel.new, tireModel.fit, tireModel.export). Use when fitting, parameterizing, or calibrating a tire model from tire measurement data (TYDEX, Calspan, MTS, or text/CSV from any test source), creating a .tir file, or building a Magic Formula tire model from test data. Also use for the individual steps: importing TYDEX, Calspan, MTS, or CSV tire data (file extensions `.tdx` for TYDEX; `.data`, `.tim`, `.rsp` for MTS; any other extension read as text) into a tireData object, exporting a tire model to .tir, inspecting, smoothing, cropping, or plotting tire measurement data or a model's response, or converting a fitted model to another type.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 21.2 KB |
| manifest.yaml | config | 1.4 KB |
| references/advanced-fit-tuning.md | markdown | 4.2 KB |
| references/common-mistakes.md | markdown | 2.0 KB |
| references/convert-operation.md | markdown | 1.2 KB |
| references/fit-diagnostics.md | markdown | 8.5 KB |
| references/fit-type-data-requirements.md | markdown | 5.7 KB |
| references/inspect-by-plotting.md | markdown | 2.6 KB |
| references/worked-example.md | markdown | 3.4 KB |
references/common-mistakes.md
View on GitHub# Common Mistakes
Load this as a reinforcement lookup when reviewing a fitting workflow for the failure modes this
skill guards against.
| Mistake | Why it is wrong | Correct approach |
|---------|-----------------|------------------|
| Hardcoding or try/catch-probing the fit-type list | Types and order are per-model-type and release-dependent | Query `fitTypes(ModelType=...)` and iterate in returned order; use `fitTypeDependency` only to diagnose |
| Routing data by filename, subfolder, or TESTMETH | `fit` ignores metadata; wrong-condition data biases the fit and only warns | Classify channel content (Step 2) and select objects per the reference table |
| Passing every file to every fit type | `fit` tolerates it and only warns, producing a silently biased fit | Route the matching subset to each fit type |
| Hand-setting `FNOMIN`, limits, or dimensions as model properties | These are data-driven fit types; hand-setting skips the fit and misscales downstream force fits | Fit `Nominal`, `Limits`, `Dimensions` as types, in order |
| Discarding the fit return or re-seeding each step | `fit` does not mutate; nothing accumulates and dependency order becomes meaningless | Reassign `mdl = fit(mdl, ...)` every step |
| Seeding from `tireModel.builtin` | `fit` errors on a builtin model | Seed with `tireModel.new`, or `tireModel.import` for a variant |
| Reporting only the glaring omission, or calling the model validated | Silent partial coverage hides fitness; in-sample RMSE is not validation | Report the complete not-run set and baseline; never over-claim |
| Assuming imported angles are degrees | Recognized-format import converts angles to radians | Treat angles as radians after a recognized-format import; supply units yourself on the CSV path |
| Hand-rolling plots with generic `plot(x,y)` and invented labels | Reinvents the API's automatic labels, units, and legend, and risks fabricated axis or coordinate-frame text | Plot with `tireData.plot`/`tireModel.plot`; pass `DataVariableNames` and `ColorBy` |
----
Copyright 2026 The MathWorks, Inc.
----
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |