Main Content

sldvgenspreadsheet

Generate spreadsheet containing test cases

Since R2022b

Description

SAVEDSPREADSHEETFILEPATH = sldvgenspreadsheet(MODEL) generates a spreadsheet with default test case specifying the default values for all input signals.

SAVEDSPREADSHEETFILEPATH = sldvgenspreadsheet(MODEL,DATAFILE) generates a spreadsheet with test cases from the data file DATAFILE. If the data file is not available, use '' in the DATAFILE argument.

Input Arguments

collapse all

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

Name of the data file containing the input data, specified as a character vector or string scalar.

You can generate the data file by using Simulink Design Verifier™ analysis file. For more information, see Manage Simulink Design Verifier Data Files.

Version History

Introduced in R2022b