Simulink.fault.addFault
Syntax
Description
fault = Simulink.fault.addFault(modelElement)modelElement.
fault = Simulink.fault.addFault(modelElement,Name=Value)
Examples
Input Arguments
Name-Value Arguments
Output Arguments
Tips
- To add behavior to a fault, use the - addBehaviorfunction.
- To specify the trigger type, use dot notation and specify the - TriggerTypeproperty.
Version History
Introduced in R2023b