functiongetVariableMode
Gets the fault mode of a certain fault model
Information
This function gets the fault mode of a certain fault model. The function needs a translated model. Therefore a translate command is issued in the model. it can be deactivated by setting translatefirst to false.
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| String | faultNames | {"FaultTriggering.Examples.ActuatorExample.Actuator.driveline.friction.externalRealFault"} | |
| String | modelName | "FaultTriggering.Examples.ActuatorExample.Actuator" | |
| Boolean | translateFirst | true | translate model if flag is true |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Real | outputValues | Values of the Mode selector |