主要内容

sltest.stmv2.results.deleteResultSets

R2026b

Delete result sets (Tech Preview)

Since R2026b

    Description

    Note

    The redesigned Simulink® Test Manager is a tech preview in R2026b. The primary purpose of the tech preview is to provide early access to the most common testing workflows. For more information about supported workflows, see Overview of the Redesigned Simulink Test Manager (Tech Preview).

    To enable the feature, click the New Test Manager button in the existing Test Manager or use the sltest.stmv2.open function at the command line.

    sltest.stmv2.results.deleteResultSets deletes all result sets currently loaded by the redesigned Simulink Test Manager.

    example

    sltest.stmv2.results.deleteResultSets(resultSets) deletes the result sets resultSets.

    example

    Examples

    collapse all

    Delete all result sets currently loaded by the redesigned Simulink Test Manager.

    sltest.stmv2.results.deleteResultSets;

    Get all result sets currently loaded by the redesigned Simulink Test Manager and delete the first one.

    resultSets = sltest.stmv2.results.getAllResultSets;
    sltest.stmv2.results.deleteResultSets(resultSets(1));

    Input Arguments

    collapse all

    Result sets to delete, specified as an array of sltest.stmv2.results.ResultSet objects.

    Version History

    Introduced in R2026b