Simulink.fault.deleteAll
Description
Simulink.fault.deleteAll(
deletes the faults or conditionals using one or more name-value arguments.model
,Name=Value
)
Examples
Input Arguments
Name-Value Arguments
Algorithms
This function may delete the fault information file and fault model depending on how you specify the name value arguments:
Conditionals Setting | Faults Setting | Result |
---|---|---|
true | true | The function deletes the fault model and the fault information file. |
false | true | If the model has conditionals, the function retains the fault information file but deletes the fault model. If the model does not have conditionals, the function deletes both files. |
true | false | If your model has faults, the function keeps both files. If the model does not have faults, the function deletes the fault information file. |
false | false | The function does nothing |
For more information on the supporting files, see Introduction to Simscape Faults.
Version History
Introduced in R2025a