Main Content

本页翻译不是最新的。点击此处可查看最新英文版本。

Simulink 故障控件

使用 Simulink 函数对故障进行建模

您可以在 Simscape 模型中使用这些 Simulink 故障控件来分析、配置和删除故障、行为、触发器和条件句。

主题

函数

全部展开

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

对象

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