Main Content

sldvexporttoversion

Exports a data file for use in a previous version of Simulink Design Verifier

Since R2024a

Description

[success, scriptFile] = sldvexporttoversion(model, dataFile, targetFolder, version) generates a MATLAB® script and a data file in targetFolder. The targetFolder must have permissions for creating new files. Run scriptFile in a previous version of MATLAB to generate Simulink® Design Verifier™ data file compatible for that version.

Input Arguments

collapse all

Name or handle of a Simulink model, specified as a character vector or string scalar.

The name of the data file containing the analysis results. dataFile must contain analysis results for the specified model.

Target folder for the new version of the script, specified as a character vector or string scalar.

MATLAB release name, specified as a string scalar or character vector. Release names are case sensitive.

Output Arguments

collapse all

if the export succeeds.

scriptFile is an exported MATLAB script to be run in the previous version.

Version History

Introduced in R2024a