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

TypeNameDefaultDescription
StringfaultNames{"FaultTriggering.Examples.ActuatorExample.Actuator.driveline.friction.externalRealFault"}
StringmodelName"FaultTriggering.Examples.ActuatorExample.Actuator"
BooleantranslateFirsttruetranslate model if flag is true

Outputs

TypeNameDefaultDescription
RealoutputValuesValues of the Mode selector