Main Content

export

R2026b

Class: tireModel

Write tire model parameter values to external file

Since R2023b

Description

Add-On Required: This feature requires the Extended Tire Features for Vehicle Dynamics Blockset add-on.

export(obj,filepath,overwrite=true) writes the model parameter values specified by obj to the file specified by filepath and overwrites existing files when the optional name-value argument overwrite is specified as true.

example

Input Arguments

expand all

Tire model, specified as a tireModel object.

Path to external file, specified as a string scalar.

Note

File type must be .TIR or.MAT.

Option to overwrite existing files, specified as false or true.

Example: overwrite=true

Data Types: logical

Examples

expand all

Write tire model parameter values to an external .TIR file

Create a new MF62 tire model with default parameters.

tm = tireModel.new("MF62");

Export the tire model to a .TIR file.

filepath = fullfile(tempdir,"myTireModel.tir");
export(tm,filepath,overwrite=true)

Version History

Introduced in R2023b

See Also

|