Simulink.fault.deleteFault
Description
Simulink.fault.deleteFault(
deletes the faults associated with the model element, modelElement
)modelElement
. The
function also deletes the fault behaviors associated with these faults.
Simulink.fault.deleteFault(
deletes the fault with the name, modelElement
,name
)name
, and its associated
behavior.
Examples
Input Arguments
Tips
Deleting faults also deletes the associated fault behavior in the fault model. To delete only the fault behavior, use the
deleteBehavior
function.Deleting faults automatically saves the fault information file.
If you delete a fault and the associated fault behavior is the only one in the fault model, you also delete the fault model.
Version History
Introduced in R2023b