Main Content

matlabshared.mldatx.getType

Get type of MLDATX file

Since R2025a

    Description

    matlabshared.mldatx.getType(filename) returns the type of the MLDATX file named filename.

    example

    Examples

    collapse all

    MLDATX files can store data for many different purposes, such as Simulation Data Inspector sessions, Signal Analyzer sessions, or Simulink test results. To determine the type of data stored in a particular MLDATX file, use the matlabshared.mldatx.getType function.

    matlabshared.mldatx.getType("myFile.mldatx")
    ans =
    
        'Simulation Data Inspector File'

    Input Arguments

    collapse all

    MLDATX file to query, specified as a string or character vector.

    Example: matlabshared.mldatx.getType("myFile.mldatx")

    Version History

    Introduced in R2025a