Main Content

Simulink.sdi.getVersion

Get Simulation Data Inspector session file version

Since R2024b

    Description

    version = Simulink.sdi.getVersion(fileName) returns the version of the Simulation Data Inspector session file specified by fileName.

    example

    Examples

    collapse all

    version = Simulink.sdi.getVersion("mySession.mldatx")
    version =
    
        '2.0'

    Input Arguments

    collapse all

    Session file name, specified as a string or character vector.

    Example: "mySessionFile.mldatx"

    Output Arguments

    collapse all

    Session file version, returned as '1.0' or '2.0'.

    Version History

    Introduced in R2024b