Skip to content

matlab/matlab-agentic-toolkit / skills-catalog/automotive/matlab-fit-tire-model

matlab-fit-tire-model

Verified

Fit 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.

references/convert-operation.md

View on GitHub
# Adjacent Operation: Convert a Fitted Model to Another Type

Load this when the user already has a fitted model and wants it re-expressed as another type (for
example "I have an MF6.2, give me a Fiala version"). Convert is not a step in the linear fitting
schedule. It is an adjacent operation offered on that request.

```matlab
[newObj, errorStat, optimOutput, H] = convert(mdl, TargetType);
```

`TargetType` must be a member of `modelTypes()`. `convert` is non-mutating, so reassign it.

It is not free: except for MF51 to MF52 (a direct parameter copy), `convert` generates synthetic
data from the source model and re-fits the target through a full schedule, so it **requires
Optimization Toolbox** and is approximate and possibly lossy on downgrades (MF6.2 to Fiala drops
combined, relaxation, and pressure behavior; conversion to Dugoff clamps slip ranges). Disclose the
lossiness the same way Step 9 discloses unfit types; never present a downgraded conversion as
equivalent to the source.

Guardrails error on a builtin source, a same-type target, and unsupported type pairs. Deliver the
result via Step 8 and report it via Step 9.

----

Copyright 2026 The MathWorks, Inc.

----
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 322kUpdated Claude CodeCodexVerifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 322kUpdated Claude CodeCodexVerifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 322kUpdated Claude CodeCodexVerifiedInstall
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: 198kUpdated Claude CodeCodexVerifiedInstall