Main Content

Simulink Fault Controls

Use Simulink functions to model faults

You can use these Simulink fault controls in Simscape models to analyze, configure, and remove faults, behaviors, triggers, and conditionals.



espandi tutto

Simulink.fault.addConditionalAdd conditional to model (Da R2023b)
Simulink.fault.addFaultAdd fault to model (Da R2023b)
Simulink.fault.deleteConditionalDelete conditional from model (Da R2023b)
Simulink.fault.deleteFaultDelete faults from model element (Da R2023b)
Simulink.fault.findConditionalsRetrieve conditionals from model (Da R2023b)
Simulink.fault.findFaultedElementsRetrieve paths of model elements that have faults (Da R2023b)
Simulink.fault.findFaultsFind faults in model (Da R2023b)
Simulink.fault.getFaultModelsReturn fault models associated with model (Da R2023b)
Simulink.fault.updateReferencesSynchronize model fault information files (Da R2023b)
addBehaviorAdd signal behavior to fault (Da R2023b)
deleteBehaviorDelete behavior associated with fault (Da R2023b)
getAssociatedModelRetrieve name of model fault (Da R2023b)
getBehaviorGet path of associated Fault Subsystem block (Da R2023b)
getFaultModelGet name of fault model (Da R2023b)
getFaultInfoFileGet name of fault information file (Da R2023b)
getSymbolsGet symbols in conditionals (Da R2023b)
getTriggeredFaultsReturn array of faults triggered by conditional (Da R2023b)
openBehaviorOpen fault behavior (Da R2023b)
activateSet fault as active fault (Da R2023b)
Simulink.fault.enableEnable or disable faults on model elements (Da R2023b)
Simulink.fault.injectionEnable fault simulation for model (Da R2023b)
Simulink.fault.isEnabledDetermine whether model elements are enabled for fault injection (Da R2023b)


FaultCreate or modify faults in models (Da R2023b)
ConditionalCreate or modify conditionals in models (Da R2023b)
SymbolCreate or modify symbols in conditionals (Da R2023b)