Main Content

sltest.testmanager.refreshFaults

Refresh list of faults available in specified model in Simulink Test Manager

Since R2024a

Description

example

sltest.testmanager.refreshFaults(model) refreshes the list of faults available in the specified model that you can add to fault sets in Simulink Test Manager. You must use this function if you add or edit faults in the model under test after you add fault sets to test cases. You must have Simulink® Fault Analyzer™ to use this function.

Examples

collapse all

To refresh the available faults in fault sets that you can select from the model myModel, enter this command:

sltest.testmanager.refreshFaults("myModel")

Input Arguments

collapse all

Name of the model under test with faults, specified as a string scalar or character vector.

Data Types: string | char

Version History

Introduced in R2024a