Simulink 故障控件
使用 Simulink 函数对故障进行建模
您可以在 Simscape 模型中使用这些 Simulink 故障控件来分析、配置和删除故障、行为、触发器和条件句。
主题
- Create and Manage Conditionals
Use conditionals to define conditions that you can use to trigger faults.
函数
Simulink 故障配置函数
Simulink.fault.addConditional | Add conditional to model (自 R2023b 起) |
Simulink.fault.addFault | Add fault to model (自 R2023b 起) |
Simulink.fault.deleteConditional | Delete conditional from model (自 R2023b 起) |
Simulink.fault.deleteFault | Delete faults from model element (自 R2023b 起) |
Simulink.fault.findConditionals | Retrieve conditionals from model (自 R2023b 起) |
Simulink.fault.findFaultedElements | Retrieve paths of model elements that have faults (自 R2023b 起) |
Simulink.fault.findFaults | Find faults in model (自 R2023b 起) |
Simulink.fault.getFaultModels | Return fault models associated with model (自 R2023b 起) |
Simulink.fault.updateReferences | Synchronize model fault information files (自 R2023b 起) |
Simulink 条件故障函数
addBehavior | Add signal behavior to fault (自 R2023b 起) |
deleteBehavior | Delete behavior associated with fault (自 R2023b 起) |
getAssociatedModel | Retrieve name of model fault (自 R2023b 起) |
getBehavior | Get path of associated Fault Subsystem block (自 R2023b 起) |
getFaultModel | Get name of fault model (自 R2023b 起) |
getFaultInfoFile | Get name of fault information file (自 R2023b 起) |
getSymbols | Get symbols in conditionals (自 R2023b 起) |
getTriggeredFaults | Return array of faults triggered by conditional (自 R2023b 起) |
openBehavior | Open fault behavior (自 R2023b 起) |
Simulink 故障仿真函数
activate | Set fault as active fault (自 R2023b 起) |
Simulink.fault.enable | Enable or disable faults on model elements (自 R2023b 起) |
Simulink.fault.injection | Enable fault simulation for model (自 R2023b 起) |
Simulink.fault.isEnabled | Determine whether model elements are enabled for fault injection (自 R2023b 起) |
对象
Fault | Create or modify faults in models (自 R2023b 起) |
Conditional | Create or modify conditionals in models (自 R2023b 起) |
Symbol | Create or modify symbols in conditionals (自 R2023b 起) |
MATLAB 命令
您点击的链接对应于以下 MATLAB 命令:
请在 MATLAB 命令行窗口中直接输入以执行命令。Web 浏览器不支持 MATLAB 命令。
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)