Fault Simulation
Simulate faults in models to analyze model responses
Use Simulink® Fault Analyzer™ to simulate faults and conditionals. Conduct fault exploration with Multiple Simulations. Compare simulation results and inspect fault effects by using the Simulation Data Inspector.
Tools
Multiple Simulations | Run multiple simulations from the Simulink Editor (Since R2021b) |
Simulation Data Inspector | Inspect and compare data and simulation results to validate and iterate model designs |
Simulation Manager | Monitor multiple simulations and visualize the simulation data |
Functions
activate | Set fault as active fault (Since R2023b) |
Simulink.fault.enable | Enable or disable faults on model elements (Since R2023b) |
Simulink.fault.injection | Enable fault simulation for model (Since R2023b) |
Simulink.fault.isEnabled | Determine whether model elements are enabled for fault injection (Since R2023b) |
Objects
Fault | Create or modify faults in models (Since R2023b) |
Conditional | Create or modify conditionals in models (Since R2023b) |
Symbol | Create or modify symbols in conditionals (Since R2023b) |
Topics
- Add and Configure Faults Programmatically
Access and change fault properties directly in Simulink models using several programmatic options.
- Simulate Models with Faults by Using the Multiple Simulations Panel
View effects of faults directly on simulink models by running multiple simulations.
- Add and Simulate Faults in System Composer Models
Add faults to System Composer™ components and simulate fault effects on component interactions.
- Run Tests with Simulink Test and Verify Fault Effects
Test fault effects on models by creating tests and evaluating temporal assessments.
- Use Best Practices While Modeling and Simulating Faults
Avoid model simulation errors caused by faults by using these best practices.