Main Content

Simulink.sdi.getSource

Get path of temporary file used to store Simulation Data Inspector data

    Description

    source = Simulink.sdi.getSource returns the path of the temporary file containing all Simulation Data Inspector data.

    example

    Examples

    collapse all

    You can use the Simulink.sdi.getSource function to get the path of the temporary file that contains all Simulation Data Inspector data.

    Simulink.sdi.getSource
    ans =
    
        'C:\Users\username\AppData\Local\Temp\b551-9e9c-1aaf-ad7c.dmr'

    Output Arguments

    collapse all

    Path of temporary file used to store all Simulation Data Inspector data, returned as a DMR file.

    Version History

    Introduced in R2011a