Main Content

simscape.multibody.tirread

Read TIR file

Since R2021b

    Description

    tireParams = simscape.multibody.tirread(filename) reads a TIR file and returns a structure array that contains the parameters defined in the TIR file.

    Input Arguments

    collapse all

    TIR file name, specified as a character vector or string scalar. The file name must end with the .tir or .TIR extension.

    Example: 'myFile.tir'

    Data Types: char | string

    Output Arguments

    collapse all

    Tire parameters, returned as a scalar structure array. You can use the structure array in the Tire Parameters parameter of the Magic Formula Tire Force and Torque block.

    Version History

    Introduced in R2021b