text: /*
   * button_switch.h
   *
   * Code generation for model "button_switch".
   *
   * Model version              : 1.11
   * Simulink Coder version : 8.6 (R2014a) 27-Dec-2013
   * C source code generated on : Tue Feb 03 14:35:05 2015
   *
   * Target selection: NIVeriStand_VxWorks.tlc
   * Note: GRT includes extra infrastructure and instrumentation for prototyping
   * Embedded hardware selection: 32-bit Generic
   * Code generation objectives: Unspecified
   * Validation result: Not run
   */
  #ifndef RTW_HEADER_button_switch_h_
  #define RTW_HEADER_button_switch_h_
  #include <string.h>
  #include <stddef.h>
  #ifndef button_switch_COMMON_INCLUDES_
  # define button_switch_COMMON_INCLUDES_
  #include "rtwtypes.h"
  #include "simstruc.h"
  #include "fixedpoint.h"
  #include "rt_logging.h"
  #endif                                 /* button_switch_COMMON_INCLUDES_ */
  
  #include "button_switch_types.h"
  
  /* Shared type includes */
  #include "multiword_types.h"
  #include "rt_defines.h"
  #include "rt_nonfinite.h"
  
  /* Macros for accessing real-time model data structure */
  #ifndef rtmGetBlkStateChangeFlag
  # define rtmGetBlkStateChangeFlag(rtm) ((rtm)->ModelData.blkStateChange)
  #endif
  
  #ifndef rtmSetBlkStateChangeFlag
  # define rtmSetBlkStateChangeFlag(rtm, val) ((rtm)->ModelData.blkStateChange = (val))
  #endif
  
  #ifndef rtmGetBlockIO
  # define rtmGetBlockIO(rtm)            ((rtm)->ModelData.blockIO)
  #endif
  
  #ifndef rtmSetBlockIO
  # define rtmSetBlockIO(rtm, val)       ((rtm)->ModelData.blockIO = (val))
  #endif
  
  #ifndef rtmGetChecksums
  # define rtmGetChecksums(rtm)          ((rtm)->Sizes.checksums)
  #endif
  
  #ifndef rtmSetChecksums
  # define rtmSetChecksums(rtm, val)     ((rtm)->Sizes.checksums = (val))
  #endif
  
  #ifndef rtmGetConstBlockIO
  # define rtmGetConstBlockIO(rtm)       ((rtm)->ModelData.constBlockIO)
  #endif
  
  #ifndef rtmSetConstBlockIO
  # define rtmSetConstBlockIO(rtm, val)  ((rtm)->ModelData.constBlockIO = (val))
  #endif
  
  #ifndef rtmGetContStateDisabled
  # define rtmGetContStateDisabled(rtm)  ((rtm)->ModelData.contStateDisabled)
  #endif
  
  #ifndef rtmSetContStateDisabled
  # define rtmSetContStateDisabled(rtm, val) ((rtm)->ModelData.contStateDisabled = (val))
  #endif
  
  #ifndef rtmGetContStates
  # define rtmGetContStates(rtm)         ((rtm)->ModelData.contStates)
  #endif
  
  #ifndef rtmSetContStates
  # define rtmSetContStates(rtm, val)    ((rtm)->ModelData.contStates = (val))
  #endif
  
  #ifndef rtmGetDataMapInfo
  # define rtmGetDataMapInfo(rtm)        ()
  #endif
  
  #ifndef rtmSetDataMapInfo
  # define rtmSetDataMapInfo(rtm, val)   ()
  #endif
  
  #ifndef rtmGetDefaultParam
  # define rtmGetDefaultParam(rtm)       ((rtm)->ModelData.defaultParam)
  #endif
  
  #ifndef rtmSetDefaultParam
  # define rtmSetDefaultParam(rtm, val)  ((rtm)->ModelData.defaultParam = (val))
  #endif
  
  #ifndef rtmGetDerivCacheNeedsReset
  # define rtmGetDerivCacheNeedsReset(rtm) ((rtm)->ModelData.derivCacheNeedsReset)
  #endif
  
  #ifndef rtmSetDerivCacheNeedsReset
  # define rtmSetDerivCacheNeedsReset(rtm, val) ((rtm)->ModelData.derivCacheNeedsReset = (val))
  #endif
  
  #ifndef rtmGetDirectFeedThrough
  # define rtmGetDirectFeedThrough(rtm)  ((rtm)->Sizes.sysDirFeedThru)
  #endif
  
  #ifndef rtmSetDirectFeedThrough
  # define rtmSetDirectFeedThrough(rtm, val) ((rtm)->Sizes.sysDirFeedThru = (val))
  #endif
  
  #ifndef rtmGetErrorStatusFlag
  # define rtmGetErrorStatusFlag(rtm)    ((rtm)->errorStatus)
  #endif
  
  #ifndef rtmSetErrorStatusFlag
  # define rtmSetErrorStatusFlag(rtm, val) ((rtm)->errorStatus = (val))
  #endif
  
  #ifndef rtmGetFinalTime
  # define rtmGetFinalTime(rtm)          ((rtm)->Timing.tFinal)
  #endif
  
  #ifndef rtmSetFinalTime
  # define rtmSetFinalTime(rtm, val)     ((rtm)->Timing.tFinal = (val))
  #endif
  
  #ifndef rtmGetFirstInitCondFlag
  # define rtmGetFirstInitCondFlag(rtm)  ()
  #endif
  
  #ifndef rtmSetFirstInitCondFlag
  # define rtmSetFirstInitCondFlag(rtm, val) ()
  #endif
  
  #ifndef rtmGetIntgData
  # define rtmGetIntgData(rtm)           ()
  #endif
  
  #ifndef rtmSetIntgData
  # define rtmSetIntgData(rtm, val)      ()
  #endif
  
  #ifndef rtmGetMdlRefGlobalTID
  # define rtmGetMdlRefGlobalTID(rtm)    ()
  #endif
  
  #ifndef rtmSetMdlRefGlobalTID
  # define rtmSetMdlRefGlobalTID(rtm, val) ()
  #endif
  
  #ifndef rtmGetMdlRefTriggerTID
  # define rtmGetMdlRefTriggerTID(rtm)   ()
  #endif
  
  #ifndef rtmSetMdlRefTriggerTID
  # define rtmSetMdlRefTriggerTID(rtm, val) ()
  #endif
  
  #ifndef rtmGetModelMappingInfo
  # define rtmGetModelMappingInfo(rtm)   ((rtm)->SpecialInfo.mappingInfo)
  #endif
  
  #ifndef rtmSetModelMappingInfo
  # define rtmSetModelMappingInfo(rtm, val) ((rtm)->SpecialInfo.mappingInfo = (val))
  #endif
  
  #ifndef rtmGetModelName
  # define rtmGetModelName(rtm)          ((rtm)->modelName)
  #endif
  
  #ifndef rtmSetModelName
  # define rtmSetModelName(rtm, val)     ((rtm)->modelName = (val))
  #endif
  
  #ifndef rtmGetNonInlinedSFcns
  # define rtmGetNonInlinedSFcns(rtm)    ()
  #endif
  
  #ifndef rtmSetNonInlinedSFcns
  # define rtmSetNonInlinedSFcns(rtm, val) ()
  #endif
  
  #ifndef rtmGetNumBlockIO
  # define rtmGetNumBlockIO(rtm)         ((rtm)->Sizes.numBlockIO)
  #endif
  
  #ifndef rtmSetNumBlockIO
  # define rtmSetNumBlockIO(rtm, val)    ((rtm)->Sizes.numBlockIO = (val))
  #endif
  
  #ifndef rtmGetNumBlockParams
  # define rtmGetNumBlockParams(rtm)     ((rtm)->Sizes.numBlockPrms)
  #endif
  
  #ifndef rtmSetNumBlockParams
  # define rtmSetNumBlockParams(rtm, val) ((rtm)->Sizes.numBlockPrms = (val))
  #endif
  
  #ifndef rtmGetNumBlocks
  # define rtmGetNumBlocks(rtm)          ((rtm)->Sizes.numBlocks)
  #endif
  
  #ifndef rtmSetNumBlocks
  # define rtmSetNumBlocks(rtm, val)     ((rtm)->Sizes.numBlocks = (val))
  #endif
  
  #ifndef rtmGetNumContStates
  # define rtmGetNumContStates(rtm)      ((rtm)->Sizes.numContStates)
  #endif
  
  #ifndef rtmSetNumContStates
  # define rtmSetNumContStates(rtm, val) ((rtm)->Sizes.numContStates = (val))
  #endif
  
  #ifndef rtmGetNumDWork
  # define rtmGetNumDWork(rtm)           ((rtm)->Sizes.numDwork)
  #endif
  
  #ifndef rtmSetNumDWork
  # define rtmSetNumDWork(rtm, val)      ((rtm)->Sizes.numDwork = (val))
  #endif
  
  #ifndef rtmGetNumInputPorts
  # define rtmGetNumInputPorts(rtm)      ((rtm)->Sizes.numIports)
  #endif
  
  #ifndef rtmSetNumInputPorts
  # define rtmSetNumInputPorts(rtm, val) ((rtm)->Sizes.numIports = (val))
  #endif
  
  #ifndef rtmGetNumNonSampledZCs
  # define rtmGetNumNonSampledZCs(rtm)   ((rtm)->Sizes.numNonSampZCs)
  #endif
  
  #ifndef rtmSetNumNonSampledZCs
  # define rtmSetNumNonSampledZCs(rtm, val) ((rtm)->Sizes.numNonSampZCs = (val))
  #endif
  
  #ifndef rtmGetNumOutputPorts
  # define rtmGetNumOutputPorts(rtm)     ((rtm)->Sizes.numOports)
  #endif
  
  #ifndef rtmSetNumOutputPorts
  # define rtmSetNumOutputPorts(rtm, val) ((rtm)->Sizes.numOports = (val))
  #endif
  
  #ifndef rtmGetNumSFcnParams
  # define rtmGetNumSFcnParams(rtm)      ((rtm)->Sizes.numSFcnPrms)
  #endif
  
  #ifndef rtmSetNumSFcnParams
  # define rtmSetNumSFcnParams(rtm, val) ((rtm)->Sizes.numSFcnPrms = (val))
  #endif
  
  #ifndef rtmGetNumSFunctions
  # define rtmGetNumSFunctions(rtm)      ((rtm)->Sizes.numSFcns)
  #endif
  
  #ifndef rtmSetNumSFunctions
  # define rtmSetNumSFunctions(rtm, val) ((rtm)->Sizes.numSFcns = (val))
  #endif
  
  #ifndef rtmGetNumSampleTimes
  # define rtmGetNumSampleTimes(rtm)     ((rtm)->Sizes.numSampTimes)
  #endif
  
  #ifndef rtmSetNumSampleTimes
  # define rtmSetNumSampleTimes(rtm, val) ((rtm)->Sizes.numSampTimes = (val))
  #endif
  
  #ifndef rtmGetNumU
  # define rtmGetNumU(rtm)               ((rtm)->Sizes.numU)
  #endif
  
  #ifndef rtmSetNumU
  # define rtmSetNumU(rtm, val)          ((rtm)->Sizes.numU = (val))
  #endif
  
  #ifndef rtmGetNumY
  # define rtmGetNumY(rtm)               ((rtm)->Sizes.numY)
  #endif
  
  #ifndef rtmSetNumY
  # define rtmSetNumY(rtm, val)          ((rtm)->Sizes.numY = (val))
  #endif
  
  #ifndef rtmGetOdeF
  # define rtmGetOdeF(rtm)               ()
  #endif
  
  #ifndef rtmSetOdeF
  # define rtmSetOdeF(rtm, val)          ()
  #endif
  
  #ifndef rtmGetOdeY
  # define rtmGetOdeY(rtm)               ()
  #endif
  
  #ifndef rtmSetOdeY
  # define rtmSetOdeY(rtm, val)          ()
  #endif
  
  #ifndef rtmGetOffsetTimeArray
  # define rtmGetOffsetTimeArray(rtm)    ((rtm)->Timing.offsetTimesArray)
  #endif
  
  #ifndef rtmSetOffsetTimeArray
  # define rtmSetOffsetTimeArray(rtm, val) ((rtm)->Timing.offsetTimesArray = (val))
  #endif
  
  #ifndef rtmGetOffsetTimePtr
  # define rtmGetOffsetTimePtr(rtm)      ((rtm)->Timing.offsetTimes)
  #endif
  
  #ifndef rtmSetOffsetTimePtr
  # define rtmSetOffsetTimePtr(rtm, val) ((rtm)->Timing.offsetTimes = (val))
  #endif
  
  #ifndef rtmGetOptions
  # define rtmGetOptions(rtm)            ((rtm)->Sizes.options)
  #endif
  
  #ifndef rtmSetOptions
  # define rtmSetOptions(rtm, val)       ((rtm)->Sizes.options = (val))
  #endif
  
  #ifndef rtmGetParamIsMalloced
  # define rtmGetParamIsMalloced(rtm)    ()
  #endif
  
  #ifndef rtmSetParamIsMalloced
  # define rtmSetParamIsMalloced(rtm, val) ()
  #endif
  
  #ifndef rtmGetPath
  # define rtmGetPath(rtm)               ((rtm)->path)
  #endif
  
  #ifndef rtmSetPath
  # define rtmSetPath(rtm, val)          ((rtm)->path = (val))
  #endif
  
  #ifndef rtmGetPerTaskSampleHits
  # define rtmGetPerTaskSampleHits(rtm)  ()
  #endif
  
  #ifndef rtmSetPerTaskSampleHits
  # define rtmSetPerTaskSampleHits(rtm, val) ()
  #endif
  
  #ifndef rtmGetPerTaskSampleHitsArray
  # define rtmGetPerTaskSampleHitsArray(rtm) ((rtm)->Timing.perTaskSampleHitsArray)
  #endif
  
  #ifndef rtmSetPerTaskSampleHitsArray
  # define rtmSetPerTaskSampleHitsArray(rtm, val) ((rtm)->Timing.perTaskSampleHitsArray = (val))
  #endif
  
  #ifndef rtmGetPerTaskSampleHitsPtr
  # define rtmGetPerTaskSampleHitsPtr(rtm) ((rtm)->Timing.perTaskSampleHits)
  #endif
  
  #ifndef rtmSetPerTaskSampleHitsPtr
  # define rtmSetPerTaskSampleHitsPtr(rtm, val) ((rtm)->Timing.perTaskSampleHits = (val))
  #endif
  
  #ifndef rtmGetPrevZCSigState
  # define rtmGetPrevZCSigState(rtm)     ((rtm)->ModelData.prevZCSigState)
  #endif
  
  #ifndef rtmSetPrevZCSigState
  # define rtmSetPrevZCSigState(rtm, val) ((rtm)->ModelData.prevZCSigState = (val))
  #endif
  
  #ifndef rtmGetRTWExtModeInfo
  # define rtmGetRTWExtModeInfo(rtm)     ((rtm)->extModeInfo)
  #endif
  
  #ifndef rtmSetRTWExtModeInfo
  # define rtmSetRTWExtModeInfo(rtm, val) ((rtm)->extModeInfo = (val))
  #endif
  
  #ifndef rtmGetRTWGeneratedSFcn
  # define rtmGetRTWGeneratedSFcn(rtm)   ((rtm)->Sizes.rtwGenSfcn)
  #endif
  
  #ifndef rtmSetRTWGeneratedSFcn
  # define rtmSetRTWGeneratedSFcn(rtm, val) ((rtm)->Sizes.rtwGenSfcn = (val))
  #endif
  
  #ifndef rtmGetRTWLogInfo
  # define rtmGetRTWLogInfo(rtm)         ((rtm)->rtwLogInfo)
  #endif
  
  #ifndef rtmSetRTWLogInfo
  # define rtmSetRTWLogInfo(rtm, val)    ((rtm)->rtwLogInfo = (val))
  #endif
  
  #ifndef rtmGetRTWRTModelMethodsInfo
  # define rtmGetRTWRTModelMethodsInfo(rtm) ()
  #endif
  
  #ifndef rtmSetRTWRTModelMethodsInfo
  # define rtmSetRTWRTModelMethodsInfo(rtm, val) ()
  #endif
  
  #ifndef rtmGetRTWSfcnInfo
  # define rtmGetRTWSfcnInfo(rtm)        ((rtm)->sfcnInfo)
  #endif
  
  #ifndef rtmSetRTWSfcnInfo
  # define rtmSetRTWSfcnInfo(rtm, val)   ((rtm)->sfcnInfo = (val))
  #endif
  
  #ifndef rtmGetRTWSolverInfo
  # define rtmGetRTWSolverInfo(rtm)      ((rtm)->solverInfo)
  #endif
  
  #ifndef rtmSetRTWSolverInfo
  # define rtmSetRTWSolverInfo(rtm, val) ((rtm)->solverInfo = (val))
  #endif
  
  #ifndef rtmGetRTWSolverInfoPtr
  # define rtmGetRTWSolverInfoPtr(rtm)   ((rtm)->solverInfoPtr)
  #endif
  
  #ifndef rtmSetRTWSolverInfoPtr
  # define rtmSetRTWSolverInfoPtr(rtm, val) ((rtm)->solverInfoPtr = (val))
  #endif
  
  #ifndef rtmGetReservedForXPC
  # define rtmGetReservedForXPC(rtm)     ((rtm)->SpecialInfo.xpcData)
  #endif
  
  #ifndef rtmSetReservedForXPC
  # define rtmSetReservedForXPC(rtm, val) ((rtm)->SpecialInfo.xpcData = (val))
  #endif
  
  #ifndef rtmGetRootDWork
  # define rtmGetRootDWork(rtm)          ((rtm)->ModelData.dwork)
  #endif
  
  #ifndef rtmSetRootDWork
  # define rtmSetRootDWork(rtm, val)     ((rtm)->ModelData.dwork = (val))
  #endif
  
  #ifndef rtmGetSFunctions
  # define rtmGetSFunctions(rtm)         ((rtm)->childSfunctions)
  #endif
  
  #ifndef rtmSetSFunctions
  # define rtmSetSFunctions(rtm, val)    ((rtm)->childSfunctions = (val))
  #endif
  
  #ifndef rtmGetSampleHitArray
  # define rtmGetSampleHitArray(rtm)     ((rtm)->Timing.sampleHitArray)
  #endif
  
  #ifndef rtmSetSampleHitArray
  # define rtmSetSampleHitArray(rtm, val) ((rtm)->Timing.sampleHitArray = (val))
  #endif
  
  #ifndef rtmGetSampleHitPtr
  # define rtmGetSampleHitPtr(rtm)       ((rtm)->Timing.sampleHits)
  #endif
  
  #ifndef rtmSetSampleHitPtr
  # define rtmSetSampleHitPtr(rtm, val)  ((rtm)->Timing.sampleHits = (val))
  #endif
  
  #ifndef rtmGetSampleTimeArray
  # define rtmGetSampleTimeArray(rtm)    ((rtm)->Timing.sampleTimesArray)
  #endif
  
  #ifndef rtmSetSampleTimeArray
  # define rtmSetSampleTimeArray(rtm, val) ((rtm)->Timing.sampleTimesArray = (val))
  #endif
  
  #ifndef rtmGetSampleTimePtr
  # define rtmGetSampleTimePtr(rtm)      ((rtm)->Timing.sampleTimes)
  #endif
  
  #ifndef rtmSetSampleTimePtr
  # define rtmSetSampleTimePtr(rtm, val) ((rtm)->Timing.sampleTimes = (val))
  #endif
  
  #ifndef rtmGetSampleTimeTaskIDArray
  # define rtmGetSampleTimeTaskIDArray(rtm) ((rtm)->Timing.sampleTimeTaskIDArray)
  #endif
  
  #ifndef rtmSetSampleTimeTaskIDArray
  # define rtmSetSampleTimeTaskIDArray(rtm, val) ((rtm)->Timing.sampleTimeTaskIDArray = (val))
  #endif
  
  #ifndef rtmGetSampleTimeTaskIDPtr
  # define rtmGetSampleTimeTaskIDPtr(rtm) ((rtm)->Timing.sampleTimeTaskIDPtr)
  #endif
  
  #ifndef rtmSetSampleTimeTaskIDPtr
  # define rtmSetSampleTimeTaskIDPtr(rtm, val) ((rtm)->Timing.sampleTimeTaskIDPtr = (val))
  #endif
  
  #ifndef rtmGetSimMode
  # define rtmGetSimMode(rtm)            ((rtm)->simMode)
  #endif
  
  #ifndef rtmSetSimMode
  # define rtmSetSimMode(rtm, val)       ((rtm)->simMode = (val))
  #endif
  
  #ifndef rtmGetSimTimeStep
  # define rtmGetSimTimeStep(rtm)        ((rtm)->Timing.simTimeStep)
  #endif
  
  #ifndef rtmSetSimTimeStep
  # define rtmSetSimTimeStep(rtm, val)   ((rtm)->Timing.simTimeStep = (val))
  #endif
  
  #ifndef rtmGetStartTime
  # define rtmGetStartTime(rtm)          ((rtm)->Timing.tStart)
  #endif
  
  #ifndef rtmSetStartTime
  # define rtmSetStartTime(rtm, val)     ((rtm)->Timing.tStart = (val))
  #endif
  
  #ifndef rtmGetStepSize
  # define rtmGetStepSize(rtm)           ((rtm)->Timing.stepSize)
  #endif
  
  #ifndef rtmSetStepSize
  # define rtmSetStepSize(rtm, val)      ((rtm)->Timing.stepSize = (val))
  #endif
  
  #ifndef rtmGetStopRequestedFlag
  # define rtmGetStopRequestedFlag(rtm)  ((rtm)->Timing.stopRequestedFlag)
  #endif
  
  #ifndef rtmSetStopRequestedFlag
  # define rtmSetStopRequestedFlag(rtm, val) ((rtm)->Timing.stopRequestedFlag = (val))
  #endif
  
  #ifndef rtmGetTaskCounters
  # define rtmGetTaskCounters(rtm)       ()
  #endif
  
  #ifndef rtmSetTaskCounters
  # define rtmSetTaskCounters(rtm, val)  ()
  #endif
  
  #ifndef rtmGetTaskTimeArray
  # define rtmGetTaskTimeArray(rtm)      ((rtm)->Timing.tArray)
  #endif
  
  #ifndef rtmSetTaskTimeArray
  # define rtmSetTaskTimeArray(rtm, val) ((rtm)->Timing.tArray = (val))
  #endif
  
  #ifndef rtmGetTimePtr
  # define rtmGetTimePtr(rtm)            ((rtm)->Timing.t)
  #endif
  
  #ifndef rtmSetTimePtr
  # define rtmSetTimePtr(rtm, val)       ((rtm)->Timing.t = (val))
  #endif
  
  #ifndef rtmGetTimingData
  # define rtmGetTimingData(rtm)         ((rtm)->Timing.timingData)
  #endif
  
  #ifndef rtmSetTimingData
  # define rtmSetTimingData(rtm, val)    ((rtm)->Timing.timingData = (val))
  #endif
  
  #ifndef rtmGetU
  # define rtmGetU(rtm)                  ((rtm)->ModelData.inputs)
  #endif
  
  #ifndef rtmSetU
  # define rtmSetU(rtm, val)             ((rtm)->ModelData.inputs = (val))
  #endif
  
  #ifndef rtmGetVarNextHitTimesListPtr
  # define rtmGetVarNextHitTimesListPtr(rtm) ((rtm)->Timing.varNextHitTimesList)
  #endif
  
  #ifndef rtmSetVarNextHitTimesListPtr
  # define rtmSetVarNextHitTimesListPtr(rtm, val) ((rtm)->Timing.varNextHitTimesList = (val))
  #endif
  
  #ifndef rtmGetY
  # define rtmGetY(rtm)                  ((rtm)->ModelData.outputs)
  #endif
  
  #ifndef rtmSetY
  # define rtmSetY(rtm, val)             ((rtm)->ModelData.outputs = (val))
  #endif
  
  #ifndef rtmGetZCCacheNeedsReset
  # define rtmGetZCCacheNeedsReset(rtm)  ((rtm)->ModelData.zCCacheNeedsReset)
  #endif
  
  #ifndef rtmSetZCCacheNeedsReset
  # define rtmSetZCCacheNeedsReset(rtm, val) ((rtm)->ModelData.zCCacheNeedsReset = (val))
  #endif
  
  #ifndef rtmGetZCSignalValues
  # define rtmGetZCSignalValues(rtm)     ((rtm)->ModelData.zcSignalValues)
  #endif
  
  #ifndef rtmSetZCSignalValues
  # define rtmSetZCSignalValues(rtm, val) ((rtm)->ModelData.zcSignalValues = (val))
  #endif
  
  #ifndef rtmGet_TimeOfLastOutput
  # define rtmGet_TimeOfLastOutput(rtm)  ((rtm)->Timing.timeOfLastOutput)
  #endif
  
  #ifndef rtmSet_TimeOfLastOutput
  # define rtmSet_TimeOfLastOutput(rtm, val) ((rtm)->Timing.timeOfLastOutput = (val))
  #endif
  
  #ifndef rtmGetdX
  # define rtmGetdX(rtm)                 ((rtm)->ModelData.derivs)
  #endif
  
  #ifndef rtmSetdX
  # define rtmSetdX(rtm, val)            ((rtm)->ModelData.derivs = (val))
  #endif
  
  #ifndef rtmGetChecksumVal
  # define rtmGetChecksumVal(rtm, idx)   ((rtm)->Sizes.checksums[idx])
  #endif
  
  #ifndef rtmSetChecksumVal
  # define rtmSetChecksumVal(rtm, idx, val) ((rtm)->Sizes.checksums[idx] = (val))
  #endif
  
  #ifndef rtmGetDWork
  # define rtmGetDWork(rtm, idx)         ((rtm)->ModelData.dwork[idx])
  #endif
  
  #ifndef rtmSetDWork
  # define rtmSetDWork(rtm, idx, val)    ((rtm)->ModelData.dwork[idx] = (val))
  #endif
  
  #ifndef rtmGetOffsetTime
  # define rtmGetOffsetTime(rtm, idx)    ((rtm)->Timing.offsetTimes[idx])
  #endif
  
  #ifndef rtmSetOffsetTime
  # define rtmSetOffsetTime(rtm, idx, val) ((rtm)->Timing.offsetTimes[idx] = (val))
  #endif
  
  #ifndef rtmGetSFunction
  # define rtmGetSFunction(rtm, idx)     ((rtm)->childSfunctions[idx])
  #endif
  
  #ifndef rtmSetSFunction
  # define rtmSetSFunction(rtm, idx, val) ((rtm)->childSfunctions[idx] = (val))
  #endif
  
  #ifndef rtmGetSampleTime
  # define rtmGetSampleTime(rtm, idx)    ((rtm)->Timing.sampleTimes[idx])
  #endif
  
  #ifndef rtmSetSampleTime
  # define rtmSetSampleTime(rtm, idx, val) ((rtm)->Timing.sampleTimes[idx] = (val))
  #endif
  
  #ifndef rtmGetSampleTimeTaskID
  # define rtmGetSampleTimeTaskID(rtm, idx) ((rtm)->Timing.sampleTimeTaskIDPtr[idx])
  #endif
  
  #ifndef rtmSetSampleTimeTaskID
  # define rtmSetSampleTimeTaskID(rtm, idx, val) ((rtm)->Timing.sampleTimeTaskIDPtr[idx] = (val))
  #endif
  
  #ifndef rtmGetVarNextHitTimeList
  # define rtmGetVarNextHitTimeList(rtm, idx) ((rtm)->Timing.varNextHitTimesList[idx])
  #endif
  
  #ifndef rtmSetVarNextHitTimeList
  # define rtmSetVarNextHitTimeList(rtm, idx, val) ((rtm)->Timing.varNextHitTimesList[idx] = (val))
  #endif
  
  #ifndef rtmIsContinuousTask
  # define rtmIsContinuousTask(rtm, tid) 0
  #endif
  
  #ifndef rtmGetErrorStatus
  # define rtmGetErrorStatus(rtm)        ((rtm)->errorStatus)
  #endif
  
  #ifndef rtmSetErrorStatus
  # define rtmSetErrorStatus(rtm, val)   ((rtm)->errorStatus = (val))
  #endif
  
  #ifndef rtmIsSampleHit
  # define rtmIsSampleHit(rtm, sti, tid) ((rtm)->Timing.sampleHits[(rtm)->Timing.sampleTimeTaskIDPtr[sti]])
  #endif
  
  #ifndef rtmGetStopRequested
  # define rtmGetStopRequested(rtm)      ((rtm)->Timing.stopRequestedFlag)
  #endif
  
  #ifndef rtmSetStopRequested
  # define rtmSetStopRequested(rtm, val) ((rtm)->Timing.stopRequestedFlag = (val))
  #endif
  
  #ifndef rtmGetStopRequestedPtr
  # define rtmGetStopRequestedPtr(rtm)   (&((rtm)->Timing.stopRequestedFlag))
  #endif
  
  #ifndef rtmGetT
  # define rtmGetT(rtm)                  (rtmGetTPtr((rtm))[0])
  #endif
  
  #ifndef rtmSetT
  # define rtmSetT(rtm, val)                                       /* Do Nothing */
  #endif
  
  #ifndef rtmGetTFinal
  # define rtmGetTFinal(rtm)             ((rtm)->Timing.tFinal)
  #endif
  
  #ifndef rtmSetTFinal
  # define rtmSetTFinal(rtm, val)        ((rtm)->Timing.tFinal = (val))
  #endif
  
  #ifndef rtmGetTPtr
  # define rtmGetTPtr(rtm)               ((rtm)->Timing.t)
  #endif
  
  #ifndef rtmSetTPtr
  # define rtmSetTPtr(rtm, val)          ((rtm)->Timing.t = (val))
  #endif
  
  #ifndef rtmGetTStart
  # define rtmGetTStart(rtm)             ((rtm)->Timing.tStart)
  #endif
  
  #ifndef rtmSetTStart
  # define rtmSetTStart(rtm, val)        ((rtm)->Timing.tStart = (val))
  #endif
  
  #ifndef rtmGetTaskTime
  # define rtmGetTaskTime(rtm, sti)      (rtmGetTPtr((rtm))[(rtm)->Timing.sampleTimeTaskIDPtr[sti]])
  #endif
  
  #ifndef rtmSetTaskTime
  # define rtmSetTaskTime(rtm, sti, val) (rtmGetTPtr((rtm))[sti] = (val))
  #endif
  
  #ifndef rtmGetTimeOfLastOutput
  # define rtmGetTimeOfLastOutput(rtm)   ((rtm)->Timing.timeOfLastOutput)
  #endif
  
  #ifdef rtmGetRTWSolverInfo
  #undef rtmGetRTWSolverInfo
  #endif
  
  #define rtmGetRTWSolverInfo(rtm)       &((rtm)->solverInfo)
  
  /* Definition for use in the target main file */
  #define button_switch_rtModel          RT_MODEL_button_switch_T
  
  /* Block signals (auto storage) */
  typedef struct {
    real_T Switch_Cross;                 /* '<Root>/Switch_Cross' */
    real_T Switch_Square;                /* '<Root>/Switch_Square' */
    real_T Switch_Circle;                /* '<Root>/Switch_Circle' */
    real_T Switch_Triangle;              /* '<Root>/Switch_Triangle' */
    real_T Student_Ctrl_alpha_1;         /* '<S3>/Student_Ctrl_alpha_1' */
    real_T Student_Ctrl_alpha_2;         /* '<S3>/Student_Ctrl_alpha_2' */
    real_T Student_Ctrl_omega_VSP1;      /* '<S3>/Student_Ctrl_omega_VSP1' */
    real_T Student_Ctrl_omega_VSP2;      /* '<S3>/Student_Ctrl_omega_VSP2' */
    real_T Student_Ctrl_u_1;             /* '<S3>/Student_Ctrl_u_1' */
    real_T Student_Ctrl_u_2;             /* '<S3>/Student_Ctrl_u_2' */
    real_T Student_Ctrl_u_BT2;           /* '<S3>/Student_Ctrl_u_BT2' */
    real_T Sixaxis_force_Ctrl_alpha_1;   /* '<S1>/Sixaxis_force_Ctrl_alpha_1' */
    real_T Sixaxis_force_Ctrl_alpha_2;   /* '<S1>/Sixaxis_force_Ctrl_alpha_2' */
    real_T Sixaxis_force_Ctrl_omega_VSP1;/* '<S1>/Sixaxis_force_Ctrl_omega_VSP1' */
    real_T Sixaxis_force_Ctrl_omega_VSP2;/* '<S1>/Sixaxis_force_Ctrl_omega_VSP2' */
    real_T Sixaxis_force_Ctrl_u_1;       /* '<S1>/Sixaxis_force_Ctrl_u_1' */
    real_T Sixaxis_force_Ctrl_u_2;       /* '<S1>/Sixaxis_force_Ctrl_u_2' */
    real_T Sixaxis_force_Ctrl_u_BT2;     /* '<S1>/Sixaxis_force_Ctrl_u_BT2' */
    real_T Ctrl_alpha_1;                 /* '<S5>/Ctrl_alpha_1' */
    real_T Ctrl_alpha_2;                 /* '<S5>/Ctrl_alpha_2' */
    real_T Ctrl_omega_VSP1;              /* '<S5>/Ctrl_omega_VSP1' */
    real_T Ctrl_omega_VSP2;              /* '<S5>/Ctrl_omega_VSP2' */
    real_T Ctrl_u_1;                     /* '<S5>/Ctrl_u_1' */
    real_T Ctrl_u_2;                     /* '<S5>/Ctrl_u_2' */
    real_T Ctrl_u_BT2;                   /* '<S5>/Ctrl_u_BT2' */
    real_T Sixaxis_alpha_1;              /* '<S2>/Sixaxis_alpha_1' */
    real_T Sixaxis_alpha_2;              /* '<S2>/Sixaxis_alpha_2' */
    real_T Sixaxis_omega_VSP;            /* '<S2>/Sixaxis_omega_VSP' */
    real_T Sixaxis_u_1;                  /* '<S2>/Sixaxis_u_1' */
    real_T Sixaxis_u_2;                  /* '<S2>/Sixaxis_u_2' */
    real_T Sixaxis_u_BT;                 /* '<S2>/Sixaxis_u_BT' */
    real_T MultiportSwitch[7];           /* '<Root>/Multiport Switch' */
    real_T switch_signal;                /* '<S4>/Switch_function' */
  } B_button_switch_T;
  
  /* Block states (auto storage) for system '<Root>' */
  typedef struct {
    real_T Switch_Cross_DWORK1;          /* '<Root>/Switch_Cross' */
    real_T Memory_PreviousInput;         /* '<S4>/Memory' */
    real_T Switch_Square_DWORK1;         /* '<Root>/Switch_Square' */
    real_T Switch_Circle_DWORK1;         /* '<Root>/Switch_Circle' */
    real_T Switch_Triangle_DWORK1;       /* '<Root>/Switch_Triangle' */
    real_T Student_Ctrl_alpha_1_DWORK1;  /* '<S3>/Student_Ctrl_alpha_1' */
    real_T Student_Ctrl_alpha_2_DWORK1;  /* '<S3>/Student_Ctrl_alpha_2' */
    real_T Student_Ctrl_omega_VSP1_DWORK1;/* '<S3>/Student_Ctrl_omega_VSP1' */
    real_T Student_Ctrl_omega_VSP2_DWORK1;/* '<S3>/Student_Ctrl_omega_VSP2' */
    real_T Student_Ctrl_u_1_DWORK1;      /* '<S3>/Student_Ctrl_u_1' */
    real_T Student_Ctrl_u_2_DWORK1;      /* '<S3>/Student_Ctrl_u_2' */
    real_T Student_Ctrl_u_BT2_DWORK1;    /* '<S3>/Student_Ctrl_u_BT2' */
    real_T Sixaxis_force_Ctrl_alpha_1_DWOR;/* '<S1>/Sixaxis_force_Ctrl_alpha_1' */
    real_T Sixaxis_force_Ctrl_alpha_2_DWOR;/* '<S1>/Sixaxis_force_Ctrl_alpha_2' */
    real_T Sixaxis_force_Ctrl_omega_VSP1_D;/* '<S1>/Sixaxis_force_Ctrl_omega_VSP1' */
    real_T Sixaxis_force_Ctrl_omega_VSP2_D;/* '<S1>/Sixaxis_force_Ctrl_omega_VSP2' */
    real_T Sixaxis_force_Ctrl_u_1_DWORK1;/* '<S1>/Sixaxis_force_Ctrl_u_1' */
    real_T Sixaxis_force_Ctrl_u_2_DWORK1;/* '<S1>/Sixaxis_force_Ctrl_u_2' */
    real_T Sixaxis_force_Ctrl_u_BT2_DWORK1;/* '<S1>/Sixaxis_force_Ctrl_u_BT2' */
    real_T Ctrl_alpha_1_DWORK1;          /* '<S5>/Ctrl_alpha_1' */
    real_T Ctrl_alpha_2_DWORK1;          /* '<S5>/Ctrl_alpha_2' */
    real_T Ctrl_omega_VSP1_DWORK1;       /* '<S5>/Ctrl_omega_VSP1' */
    real_T Ctrl_omega_VSP2_DWORK1;       /* '<S5>/Ctrl_omega_VSP2' */
    real_T Ctrl_u_1_DWORK1;              /* '<S5>/Ctrl_u_1' */
    real_T Ctrl_u_2_DWORK1;              /* '<S5>/Ctrl_u_2' */
    real_T Ctrl_u_BT2_DWORK1;            /* '<S5>/Ctrl_u_BT2' */
    real_T Sixaxis_alpha_1_DWORK1;       /* '<S2>/Sixaxis_alpha_1' */
    real_T Sixaxis_alpha_2_DWORK1;       /* '<S2>/Sixaxis_alpha_2' */
    real_T Sixaxis_omega_VSP_DWORK1;     /* '<S2>/Sixaxis_omega_VSP' */
    real_T Sixaxis_u_1_DWORK1;           /* '<S2>/Sixaxis_u_1' */
    real_T Sixaxis_u_2_DWORK1;           /* '<S2>/Sixaxis_u_2' */
    real_T Sixaxis_u_BT_DWORK1;          /* '<S2>/Sixaxis_u_BT' */
    real_T U_BT_DWORK1;                  /* '<Root>/U_BT' */
    real_T alpha_1_DWORK1;               /* '<Root>/alpha_1' */
    real_T u_1_DWORK1;                   /* '<Root>/u_1' */
    real_T alpha_2_DWORK1;               /* '<Root>/alpha_2' */
    real_T u_2_DWORK1;                   /* '<Root>/u_2' */
    real_T omega_VSP_1_DWORK1;           /* '<Root>/omega_VSP_1' */
    real_T omega_VSP_2_DWORK1;           /* '<Root>/omega_VSP_2' */
    real_T Switch_indicator_DWORK1;      /* '<Root>/Switch_indicator' */
    uint8_T Switch_Cross_DWORK2[14];     /* '<Root>/Switch_Cross' */
    uint8_T Switch_Square_DWORK2[14];    /* '<Root>/Switch_Square' */
    uint8_T Switch_Circle_DWORK2[14];    /* '<Root>/Switch_Circle' */
    uint8_T Switch_Triangle_DWORK2[14];  /* '<Root>/Switch_Triangle' */
    uint8_T Student_Ctrl_alpha_1_DWORK2[14];/* '<S3>/Student_Ctrl_alpha_1' */
    uint8_T Student_Ctrl_alpha_2_DWORK2[14];/* '<S3>/Student_Ctrl_alpha_2' */
    uint8_T Student_Ctrl_omega_VSP1_DWORK2[14];/* '<S3>/Student_Ctrl_omega_VSP1' */
    uint8_T Student_Ctrl_omega_VSP2_DWORK2[14];/* '<S3>/Student_Ctrl_omega_VSP2' */
    uint8_T Student_Ctrl_u_1_DWORK2[14]; /* '<S3>/Student_Ctrl_u_1' */
    uint8_T Student_Ctrl_u_2_DWORK2[14]; /* '<S3>/Student_Ctrl_u_2' */
    uint8_T Student_Ctrl_u_BT2_DWORK2[14];/* '<S3>/Student_Ctrl_u_BT2' */
    uint8_T Sixaxis_force_Ctrl_alpha_1_DW_e[14];/* '<S1>/Sixaxis_force_Ctrl_alpha_1' */
    uint8_T Sixaxis_force_Ctrl_alpha_2_DW_l[14];/* '<S1>/Sixaxis_force_Ctrl_alpha_2' */
    uint8_T Sixaxis_force_Ctrl_omega_VSP1_o[14];/* '<S1>/Sixaxis_force_Ctrl_omega_VSP1' */
    uint8_T Sixaxis_force_Ctrl_omega_VSP2_l[14];/* '<S1>/Sixaxis_force_Ctrl_omega_VSP2' */
    uint8_T Sixaxis_force_Ctrl_u_1_DWORK2[14];/* '<S1>/Sixaxis_force_Ctrl_u_1' */
    uint8_T Sixaxis_force_Ctrl_u_2_DWORK2[14];/* '<S1>/Sixaxis_force_Ctrl_u_2' */
    uint8_T Sixaxis_force_Ctrl_u_BT2_DWORK2[14];/* '<S1>/Sixaxis_force_Ctrl_u_BT2' */
    uint8_T Ctrl_alpha_1_DWORK2[14];     /* '<S5>/Ctrl_alpha_1' */
    uint8_T Ctrl_alpha_2_DWORK2[14];     /* '<S5>/Ctrl_alpha_2' */
    uint8_T Ctrl_omega_VSP1_DWORK2[14];  /* '<S5>/Ctrl_omega_VSP1' */
    uint8_T Ctrl_omega_VSP2_DWORK2[14];  /* '<S5>/Ctrl_omega_VSP2' */
    uint8_T Ctrl_u_1_DWORK2[14];         /* '<S5>/Ctrl_u_1' */
    uint8_T Ctrl_u_2_DWORK2[14];         /* '<S5>/Ctrl_u_2' */
    uint8_T Ctrl_u_BT2_DWORK2[14];       /* '<S5>/Ctrl_u_BT2' */
    uint8_T Sixaxis_alpha_1_DWORK2[14];  /* '<S2>/Sixaxis_alpha_1' */
    uint8_T Sixaxis_alpha_2_DWORK2[14];  /* '<S2>/Sixaxis_alpha_2' */
    uint8_T Sixaxis_omega_VSP_DWORK2[14];/* '<S2>/Sixaxis_omega_VSP' */
    uint8_T Sixaxis_u_1_DWORK2[14];      /* '<S2>/Sixaxis_u_1' */
    uint8_T Sixaxis_u_2_DWORK2[14];      /* '<S2>/Sixaxis_u_2' */
    uint8_T Sixaxis_u_BT_DWORK2[14];     /* '<S2>/Sixaxis_u_BT' */
    uint8_T U_BT_DWORK2[14];             /* '<Root>/U_BT' */
    uint8_T alpha_1_DWORK2[14];          /* '<Root>/alpha_1' */
    uint8_T u_1_DWORK2[14];              /* '<Root>/u_1' */
    uint8_T alpha_2_DWORK2[14];          /* '<Root>/alpha_2' */
    uint8_T u_2_DWORK2[14];              /* '<Root>/u_2' */
    uint8_T omega_VSP_1_DWORK2[14];      /* '<Root>/omega_VSP_1' */
    uint8_T omega_VSP_2_DWORK2[14];      /* '<Root>/omega_VSP_2' */
    uint8_T Switch_indicator_DWORK2[14]; /* '<Root>/Switch_indicator' */
  } DW_button_switch_T;
  
  /* Backward compatible GRT Identifiers */
  #define rtB                            button_switch_B
  #define BlockIO                        B_button_switch_T
  #define rtP                            button_switch_P
  #define Parameters                     P_button_switch_T
  #define rtDWork                        button_switch_DW
  #define D_Work                         DW_button_switch_T
  
  /* Parameters (auto storage) */
  struct P_button_switch_T_ {
    real_T Switch_Cross_P1;              /* Expression: width
                                          * Referenced by: '<Root>/Switch_Cross'
                                          */
    real_T Switch_Cross_P2;              /* Expression: dtype
                                          * Referenced by: '<Root>/Switch_Cross'
                                          */
    real_T Switch_Cross_P3;              /* Expression: portnum
                                          * Referenced by: '<Root>/Switch_Cross'
                                          */
    real_T Switch_Cross_P4;              /* Expression: stime
                                          * Referenced by: '<Root>/Switch_Cross'
                                          */
    real_T Switch_Cross_P5;              /* Expression: stype
                                          * Referenced by: '<Root>/Switch_Cross'
                                          */
    real_T Switch_Cross_P6;              /* Expression: btype
                                          * Referenced by: '<Root>/Switch_Cross'
                                          */
    real_T Memory_X0;                    /* Expression: 4
                                          * Referenced by: '<S4>/Memory'
                                          */
    real_T Switch_Square_P1;             /* Expression: width
                                          * Referenced by: '<Root>/Switch_Square'
                                          */
    real_T Switch_Square_P2;             /* Expression: dtype
                                          * Referenced by: '<Root>/Switch_Square'
                                          */
    real_T Switch_Square_P3;             /* Expression: portnum
                                          * Referenced by: '<Root>/Switch_Square'
                                          */
    real_T Switch_Square_P4;             /* Expression: stime
                                          * Referenced by: '<Root>/Switch_Square'
                                          */
    real_T Switch_Square_P5;             /* Expression: stype
                                          * Referenced by: '<Root>/Switch_Square'
                                          */
    real_T Switch_Square_P6;             /* Expression: btype
                                          * Referenced by: '<Root>/Switch_Square'
                                          */
    real_T Switch_Circle_P1;             /* Expression: width
                                          * Referenced by: '<Root>/Switch_Circle'
                                          */
    real_T Switch_Circle_P2;             /* Expression: dtype
                                          * Referenced by: '<Root>/Switch_Circle'
                                          */
    real_T Switch_Circle_P3;             /* Expression: portnum
                                          * Referenced by: '<Root>/Switch_Circle'
                                          */
    real_T Switch_Circle_P4;             /* Expression: stime
                                          * Referenced by: '<Root>/Switch_Circle'
                                          */
    real_T Switch_Circle_P5;             /* Expression: stype
                                          * Referenced by: '<Root>/Switch_Circle'
                                          */
    real_T Switch_Circle_P6;             /* Expression: btype
                                          * Referenced by: '<Root>/Switch_Circle'
                                          */
    real_T Switch_Triangle_P1;           /* Expression: width
                                          * Referenced by: '<Root>/Switch_Triangle'
                                          */
    real_T Switch_Triangle_P2;           /* Expression: dtype
                                          * Referenced by: '<Root>/Switch_Triangle'
                                          */
    real_T Switch_Triangle_P3;           /* Expression: portnum
                                          * Referenced by: '<Root>/Switch_Triangle'
                                          */
    real_T Switch_Triangle_P4;           /* Expression: stime
                                          * Referenced by: '<Root>/Switch_Triangle'
                                          */
    real_T Switch_Triangle_P5;           /* Expression: stype
                                          * Referenced by: '<Root>/Switch_Triangle'
                                          */
    real_T Switch_Triangle_P6;           /* Expression: btype
                                          * Referenced by: '<Root>/Switch_Triangle'
                                          */
    real_T Student_Ctrl_alpha_1_P1;      /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_1'
                                          */
    real_T Student_Ctrl_alpha_1_P2;      /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_1'
                                          */
    real_T Student_Ctrl_alpha_1_P3;      /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_1'
                                          */
    real_T Student_Ctrl_alpha_1_P4;      /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_1'
                                          */
    real_T Student_Ctrl_alpha_1_P5;      /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_1'
                                          */
    real_T Student_Ctrl_alpha_1_P6;      /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_1'
                                          */
    real_T Student_Ctrl_alpha_2_P1;      /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_2'
                                          */
    real_T Student_Ctrl_alpha_2_P2;      /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_2'
                                          */
    real_T Student_Ctrl_alpha_2_P3;      /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_2'
                                          */
    real_T Student_Ctrl_alpha_2_P4;      /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_2'
                                          */
    real_T Student_Ctrl_alpha_2_P5;      /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_2'
                                          */
    real_T Student_Ctrl_alpha_2_P6;      /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_alpha_2'
                                          */
    real_T Student_Ctrl_omega_VSP1_P1;   /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP1'
                                          */
    real_T Student_Ctrl_omega_VSP1_P2;   /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP1'
                                          */
    real_T Student_Ctrl_omega_VSP1_P3;   /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP1'
                                          */
    real_T Student_Ctrl_omega_VSP1_P4;   /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP1'
                                          */
    real_T Student_Ctrl_omega_VSP1_P5;   /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP1'
                                          */
    real_T Student_Ctrl_omega_VSP1_P6;   /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP1'
                                          */
    real_T Student_Ctrl_omega_VSP2_P1;   /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP2'
                                          */
    real_T Student_Ctrl_omega_VSP2_P2;   /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP2'
                                          */
    real_T Student_Ctrl_omega_VSP2_P3;   /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP2'
                                          */
    real_T Student_Ctrl_omega_VSP2_P4;   /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP2'
                                          */
    real_T Student_Ctrl_omega_VSP2_P5;   /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP2'
                                          */
    real_T Student_Ctrl_omega_VSP2_P6;   /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_omega_VSP2'
                                          */
    real_T Student_Ctrl_u_1_P1;          /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_u_1'
                                          */
    real_T Student_Ctrl_u_1_P2;          /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_u_1'
                                          */
    real_T Student_Ctrl_u_1_P3;          /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_u_1'
                                          */
    real_T Student_Ctrl_u_1_P4;          /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_u_1'
                                          */
    real_T Student_Ctrl_u_1_P5;          /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_u_1'
                                          */
    real_T Student_Ctrl_u_1_P6;          /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_u_1'
                                          */
    real_T Student_Ctrl_u_2_P1;          /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_u_2'
                                          */
    real_T Student_Ctrl_u_2_P2;          /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_u_2'
                                          */
    real_T Student_Ctrl_u_2_P3;          /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_u_2'
                                          */
    real_T Student_Ctrl_u_2_P4;          /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_u_2'
                                          */
    real_T Student_Ctrl_u_2_P5;          /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_u_2'
                                          */
    real_T Student_Ctrl_u_2_P6;          /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_u_2'
                                          */
    real_T Student_Ctrl_u_BT2_P1;        /* Expression: width
                                          * Referenced by: '<S3>/Student_Ctrl_u_BT2'
                                          */
    real_T Student_Ctrl_u_BT2_P2;        /* Expression: dtype
                                          * Referenced by: '<S3>/Student_Ctrl_u_BT2'
                                          */
    real_T Student_Ctrl_u_BT2_P3;        /* Expression: portnum
                                          * Referenced by: '<S3>/Student_Ctrl_u_BT2'
                                          */
    real_T Student_Ctrl_u_BT2_P4;        /* Expression: stime
                                          * Referenced by: '<S3>/Student_Ctrl_u_BT2'
                                          */
    real_T Student_Ctrl_u_BT2_P5;        /* Expression: stype
                                          * Referenced by: '<S3>/Student_Ctrl_u_BT2'
                                          */
    real_T Student_Ctrl_u_BT2_P6;        /* Expression: btype
                                          * Referenced by: '<S3>/Student_Ctrl_u_BT2'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_1_P1;/* Expression: width
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_1'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_1_P2;/* Expression: dtype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_1'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_1_P3;/* Expression: portnum
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_1'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_1_P4;/* Expression: stime
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_1'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_1_P5;/* Expression: stype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_1'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_1_P6;/* Expression: btype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_1'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_2_P1;/* Expression: width
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_2'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_2_P2;/* Expression: dtype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_2'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_2_P3;/* Expression: portnum
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_2'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_2_P4;/* Expression: stime
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_2'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_2_P5;/* Expression: stype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_2'
                                          */
    real_T Sixaxis_force_Ctrl_alpha_2_P6;/* Expression: btype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_alpha_2'
                                          */
    real_T Sixaxis_force_Ctrl_omega_VSP1_P;/* Expression: width
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP1'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP1_b;/* Expression: dtype
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP1'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP1_l;/* Expression: portnum
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP1'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP1_o;/* Expression: stime
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP1'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP1_c;/* Expression: stype
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP1'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP1_f;/* Expression: btype
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP1'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP2_P;/* Expression: width
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP2'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP2_h;/* Expression: dtype
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP2'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP2_n;/* Expression: portnum
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP2'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP2_b;/* Expression: stime
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP2'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP2_a;/* Expression: stype
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP2'
                                            */
    real_T Sixaxis_force_Ctrl_omega_VSP2_l;/* Expression: btype
                                            * Referenced by: '<S1>/Sixaxis_force_Ctrl_omega_VSP2'
                                            */
    real_T Sixaxis_force_Ctrl_u_1_P1;    /* Expression: width
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_1'
                                          */
    real_T Sixaxis_force_Ctrl_u_1_P2;    /* Expression: dtype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_1'
                                          */
    real_T Sixaxis_force_Ctrl_u_1_P3;    /* Expression: portnum
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_1'
                                          */
    real_T Sixaxis_force_Ctrl_u_1_P4;    /* Expression: stime
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_1'
                                          */
    real_T Sixaxis_force_Ctrl_u_1_P5;    /* Expression: stype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_1'
                                          */
    real_T Sixaxis_force_Ctrl_u_1_P6;    /* Expression: btype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_1'
                                          */
    real_T Sixaxis_force_Ctrl_u_2_P1;    /* Expression: width
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_2'
                                          */
    real_T Sixaxis_force_Ctrl_u_2_P2;    /* Expression: dtype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_2'
                                          */
    real_T Sixaxis_force_Ctrl_u_2_P3;    /* Expression: portnum
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_2'
                                          */
    real_T Sixaxis_force_Ctrl_u_2_P4;    /* Expression: stime
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_2'
                                          */
    real_T Sixaxis_force_Ctrl_u_2_P5;    /* Expression: stype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_2'
                                          */
    real_T Sixaxis_force_Ctrl_u_2_P6;    /* Expression: btype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_2'
                                          */
    real_T Sixaxis_force_Ctrl_u_BT2_P1;  /* Expression: width
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_BT2'
                                          */
    real_T Sixaxis_force_Ctrl_u_BT2_P2;  /* Expression: dtype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_BT2'
                                          */
    real_T Sixaxis_force_Ctrl_u_BT2_P3;  /* Expression: portnum
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_BT2'
                                          */
    real_T Sixaxis_force_Ctrl_u_BT2_P4;  /* Expression: stime
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_BT2'
                                          */
    real_T Sixaxis_force_Ctrl_u_BT2_P5;  /* Expression: stype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_BT2'
                                          */
    real_T Sixaxis_force_Ctrl_u_BT2_P6;  /* Expression: btype
                                          * Referenced by: '<S1>/Sixaxis_force_Ctrl_u_BT2'
                                          */
    real_T Ctrl_alpha_1_P1;              /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_alpha_1'
                                          */
    real_T Ctrl_alpha_1_P2;              /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_alpha_1'
                                          */
    real_T Ctrl_alpha_1_P3;              /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_alpha_1'
                                          */
    real_T Ctrl_alpha_1_P4;              /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_alpha_1'
                                          */
    real_T Ctrl_alpha_1_P5;              /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_alpha_1'
                                          */
    real_T Ctrl_alpha_1_P6;              /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_alpha_1'
                                          */
    real_T Ctrl_alpha_2_P1;              /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_alpha_2'
                                          */
    real_T Ctrl_alpha_2_P2;              /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_alpha_2'
                                          */
    real_T Ctrl_alpha_2_P3;              /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_alpha_2'
                                          */
    real_T Ctrl_alpha_2_P4;              /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_alpha_2'
                                          */
    real_T Ctrl_alpha_2_P5;              /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_alpha_2'
                                          */
    real_T Ctrl_alpha_2_P6;              /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_alpha_2'
                                          */
    real_T Ctrl_omega_VSP1_P1;           /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_omega_VSP1'
                                          */
    real_T Ctrl_omega_VSP1_P2;           /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_omega_VSP1'
                                          */
    real_T Ctrl_omega_VSP1_P3;           /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_omega_VSP1'
                                          */
    real_T Ctrl_omega_VSP1_P4;           /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_omega_VSP1'
                                          */
    real_T Ctrl_omega_VSP1_P5;           /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_omega_VSP1'
                                          */
    real_T Ctrl_omega_VSP1_P6;           /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_omega_VSP1'
                                          */
    real_T Ctrl_omega_VSP2_P1;           /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_omega_VSP2'
                                          */
    real_T Ctrl_omega_VSP2_P2;           /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_omega_VSP2'
                                          */
    real_T Ctrl_omega_VSP2_P3;           /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_omega_VSP2'
                                          */
    real_T Ctrl_omega_VSP2_P4;           /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_omega_VSP2'
                                          */
    real_T Ctrl_omega_VSP2_P5;           /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_omega_VSP2'
                                          */
    real_T Ctrl_omega_VSP2_P6;           /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_omega_VSP2'
                                          */
    real_T Ctrl_u_1_P1;                  /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_u_1'
                                          */
    real_T Ctrl_u_1_P2;                  /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_u_1'
                                          */
    real_T Ctrl_u_1_P3;                  /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_u_1'
                                          */
    real_T Ctrl_u_1_P4;                  /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_u_1'
                                          */
    real_T Ctrl_u_1_P5;                  /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_u_1'
                                          */
    real_T Ctrl_u_1_P6;                  /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_u_1'
                                          */
    real_T Ctrl_u_2_P1;                  /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_u_2'
                                          */
    real_T Ctrl_u_2_P2;                  /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_u_2'
                                          */
    real_T Ctrl_u_2_P3;                  /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_u_2'
                                          */
    real_T Ctrl_u_2_P4;                  /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_u_2'
                                          */
    real_T Ctrl_u_2_P5;                  /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_u_2'
                                          */
    real_T Ctrl_u_2_P6;                  /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_u_2'
                                          */
    real_T Ctrl_u_BT2_P1;                /* Expression: width
                                          * Referenced by: '<S5>/Ctrl_u_BT2'
                                          */
    real_T Ctrl_u_BT2_P2;                /* Expression: dtype
                                          * Referenced by: '<S5>/Ctrl_u_BT2'
                                          */
    real_T Ctrl_u_BT2_P3;                /* Expression: portnum
                                          * Referenced by: '<S5>/Ctrl_u_BT2'
                                          */
    real_T Ctrl_u_BT2_P4;                /* Expression: stime
                                          * Referenced by: '<S5>/Ctrl_u_BT2'
                                          */
    real_T Ctrl_u_BT2_P5;                /* Expression: stype
                                          * Referenced by: '<S5>/Ctrl_u_BT2'
                                          */
    real_T Ctrl_u_BT2_P6;                /* Expression: btype
                                          * Referenced by: '<S5>/Ctrl_u_BT2'
                                          */
    real_T Sixaxis_alpha_1_P1;           /* Expression: width
                                          * Referenced by: '<S2>/Sixaxis_alpha_1'
                                          */
    real_T Sixaxis_alpha_1_P2;           /* Expression: dtype
                                          * Referenced by: '<S2>/Sixaxis_alpha_1'
                                          */
    real_T Sixaxis_alpha_1_P3;           /* Expression: portnum
                                          * Referenced by: '<S2>/Sixaxis_alpha_1'
                                          */
    real_T Sixaxis_alpha_1_P4;           /* Expression: stime
                                          * Referenced by: '<S2>/Sixaxis_alpha_1'
                                          */
    real_T Sixaxis_alpha_1_P5;           /* Expression: stype
                                          * Referenced by: '<S2>/Sixaxis_alpha_1'
                                          */
    real_T Sixaxis_alpha_1_P6;           /* Expression: btype
                                          * Referenced by: '<S2>/Sixaxis_alpha_1'
                                          */
    real_T Sixaxis_alpha_2_P1;           /* Expression: width
                                          * Referenced by: '<S2>/Sixaxis_alpha_2'
                                          */
    real_T Sixaxis_alpha_2_P2;           /* Expression: dtype
                                          * Referenced by: '<S2>/Sixaxis_alpha_2'
                                          */
    real_T Sixaxis_alpha_2_P3;           /* Expression: portnum
                                          * Referenced by: '<S2>/Sixaxis_alpha_2'
                                          */
    real_T Sixaxis_alpha_2_P4;           /* Expression: stime
                                          * Referenced by: '<S2>/Sixaxis_alpha_2'
                                          */
    real_T Sixaxis_alpha_2_P5;           /* Expression: stype
                                          * Referenced by: '<S2>/Sixaxis_alpha_2'
                                          */
    real_T Sixaxis_alpha_2_P6;           /* Expression: btype
                                          * Referenced by: '<S2>/Sixaxis_alpha_2'
                                          */
    real_T Sixaxis_omega_VSP_P1;         /* Expression: width
                                          * Referenced by: '<S2>/Sixaxis_omega_VSP'
                                          */
    real_T Sixaxis_omega_VSP_P2;         /* Expression: dtype
                                          * Referenced by: '<S2>/Sixaxis_omega_VSP'
                                          */
    real_T Sixaxis_omega_VSP_P3;         /* Expression: portnum
                                          * Referenced by: '<S2>/Sixaxis_omega_VSP'
                                          */
    real_T Sixaxis_omega_VSP_P4;         /* Expression: stime
                                          * Referenced by: '<S2>/Sixaxis_omega_VSP'
                                          */
    real_T Sixaxis_omega_VSP_P5;         /* Expression: stype
                                          * Referenced by: '<S2>/Sixaxis_omega_VSP'
                                          */
    real_T Sixaxis_omega_VSP_P6;         /* Expression: btype
                                          * Referenced by: '<S2>/Sixaxis_omega_VSP'
                                          */
    real_T Sixaxis_u_1_P1;               /* Expression: width
                                          * Referenced by: '<S2>/Sixaxis_u_1'
                                          */
    real_T Sixaxis_u_1_P2;               /* Expression: dtype
                                          * Referenced by: '<S2>/Sixaxis_u_1'
                                          */
    real_T Sixaxis_u_1_P3;               /* Expression: portnum
                                          * Referenced by: '<S2>/Sixaxis_u_1'
                                          */
    real_T Sixaxis_u_1_P4;               /* Expression: stime
                                          * Referenced by: '<S2>/Sixaxis_u_1'
                                          */
    real_T Sixaxis_u_1_P5;               /* Expression: stype
                                          * Referenced by: '<S2>/Sixaxis_u_1'
                                          */
    real_T Sixaxis_u_1_P6;               /* Expression: btype
                                          * Referenced by: '<S2>/Sixaxis_u_1'
                                          */
    real_T Sixaxis_u_2_P1;               /* Expression: width
                                          * Referenced by: '<S2>/Sixaxis_u_2'
                                          */
    real_T Sixaxis_u_2_P2;               /* Expression: dtype
                                          * Referenced by: '<S2>/Sixaxis_u_2'
                                          */
    real_T Sixaxis_u_2_P3;               /* Expression: portnum
                                          * Referenced by: '<S2>/Sixaxis_u_2'
                                          */
    real_T Sixaxis_u_2_P4;               /* Expression: stime
                                          * Referenced by: '<S2>/Sixaxis_u_2'
                                          */
    real_T Sixaxis_u_2_P5;               /* Expression: stype
                                          * Referenced by: '<S2>/Sixaxis_u_2'
                                          */
    real_T Sixaxis_u_2_P6;               /* Expression: btype
                                          * Referenced by: '<S2>/Sixaxis_u_2'
                                          */
    real_T Sixaxis_u_BT_P1;              /* Expression: width
                                          * Referenced by: '<S2>/Sixaxis_u_BT'
                                          */
    real_T Sixaxis_u_BT_P2;              /* Expression: dtype
                                          * Referenced by: '<S2>/Sixaxis_u_BT'
                                          */
    real_T Sixaxis_u_BT_P3;              /* Expression: portnum
                                          * Referenced by: '<S2>/Sixaxis_u_BT'
                                          */
    real_T Sixaxis_u_BT_P4;              /* Expression: stime
                                          * Referenced by: '<S2>/Sixaxis_u_BT'
                                          */
    real_T Sixaxis_u_BT_P5;              /* Expression: stype
                                          * Referenced by: '<S2>/Sixaxis_u_BT'
                                          */
    real_T Sixaxis_u_BT_P6;              /* Expression: btype
                                          * Referenced by: '<S2>/Sixaxis_u_BT'
                                          */
    real_T U_BT_P1;                      /* Expression: width
                                          * Referenced by: '<Root>/U_BT'
                                          */
    real_T U_BT_P2;                      /* Expression: dtype
                                          * Referenced by: '<Root>/U_BT'
                                          */
    real_T U_BT_P3;                      /* Expression: portnum
                                          * Referenced by: '<Root>/U_BT'
                                          */
    real_T U_BT_P4;                      /* Expression: stime
                                          * Referenced by: '<Root>/U_BT'
                                          */
    real_T U_BT_P5;                      /* Expression: stype
                                          * Referenced by: '<Root>/U_BT'
                                          */
    real_T U_BT_P6;                      /* Expression: btype
                                          * Referenced by: '<Root>/U_BT'
                                          */
    real_T alpha_1_P1;                   /* Expression: width
                                          * Referenced by: '<Root>/alpha_1'
                                          */
    real_T alpha_1_P2;                   /* Expression: dtype
                                          * Referenced by: '<Root>/alpha_1'
                                          */
    real_T alpha_1_P3;                   /* Expression: portnum
                                          * Referenced by: '<Root>/alpha_1'
                                          */
    real_T alpha_1_P4;                   /* Expression: stime
                                          * Referenced by: '<Root>/alpha_1'
                                          */
    real_T alpha_1_P5;                   /* Expression: stype
                                          * Referenced by: '<Root>/alpha_1'
                                          */
    real_T alpha_1_P6;                   /* Expression: btype
                                          * Referenced by: '<Root>/alpha_1'
                                          */
    real_T u_1_P1;                       /* Expression: width
                                          * Referenced by: '<Root>/u_1'
                                          */
    real_T u_1_P2;                       /* Expression: dtype
                                          * Referenced by: '<Root>/u_1'
                                          */
    real_T u_1_P3;                       /* Expression: portnum
                                          * Referenced by: '<Root>/u_1'
                                          */
    real_T u_1_P4;                       /* Expression: stime
                                          * Referenced by: '<Root>/u_1'
                                          */
    real_T u_1_P5;                       /* Expression: stype
                                          * Referenced by: '<Root>/u_1'
                                          */
    real_T u_1_P6;                       /* Expression: btype
                                          * Referenced by: '<Root>/u_1'
                                          */
    real_T alpha_2_P1;                   /* Expression: width
                                          * Referenced by: '<Root>/alpha_2'
                                          */
    real_T alpha_2_P2;                   /* Expression: dtype
                                          * Referenced by: '<Root>/alpha_2'
                                          */
    real_T alpha_2_P3;                   /* Expression: portnum
                                          * Referenced by: '<Root>/alpha_2'
                                          */
    real_T alpha_2_P4;                   /* Expression: stime
                                          * Referenced by: '<Root>/alpha_2'
                                          */
    real_T alpha_2_P5;                   /* Expression: stype
                                          * Referenced by: '<Root>/alpha_2'
                                          */
    real_T alpha_2_P6;                   /* Expression: btype
                                          * Referenced by: '<Root>/alpha_2'
                                          */
    real_T u_2_P1;                       /* Expression: width
                                          * Referenced by: '<Root>/u_2'
                                          */
    real_T u_2_P2;                       /* Expression: dtype
                                          * Referenced by: '<Root>/u_2'
                                          */
    real_T u_2_P3;                       /* Expression: portnum
                                          * Referenced by: '<Root>/u_2'
                                          */
    real_T u_2_P4;                       /* Expression: stime
                                          * Referenced by: '<Root>/u_2'
                                          */
    real_T u_2_P5;                       /* Expression: stype
                                          * Referenced by: '<Root>/u_2'
                                          */
    real_T u_2_P6;                       /* Expression: btype
                                          * Referenced by: '<Root>/u_2'
                                          */
    real_T omega_VSP_1_P1;               /* Expression: width
                                          * Referenced by: '<Root>/omega_VSP_1'
                                          */
    real_T omega_VSP_1_P2;               /* Expression: dtype
                                          * Referenced by: '<Root>/omega_VSP_1'
                                          */
    real_T omega_VSP_1_P3;               /* Expression: portnum
                                          * Referenced by: '<Root>/omega_VSP_1'
                                          */
    real_T omega_VSP_1_P4;               /* Expression: stime
                                          * Referenced by: '<Root>/omega_VSP_1'
                                          */
    real_T omega_VSP_1_P5;               /* Expression: stype
                                          * Referenced by: '<Root>/omega_VSP_1'
                                          */
    real_T omega_VSP_1_P6;               /* Expression: btype
                                          * Referenced by: '<Root>/omega_VSP_1'
                                          */
    real_T omega_VSP_2_P1;               /* Expression: width
                                          * Referenced by: '<Root>/omega_VSP_2'
                                          */
    real_T omega_VSP_2_P2;               /* Expression: dtype
                                          * Referenced by: '<Root>/omega_VSP_2'
                                          */
    real_T omega_VSP_2_P3;               /* Expression: portnum
                                          * Referenced by: '<Root>/omega_VSP_2'
                                          */
    real_T omega_VSP_2_P4;               /* Expression: stime
                                          * Referenced by: '<Root>/omega_VSP_2'
                                          */
    real_T omega_VSP_2_P5;               /* Expression: stype
                                          * Referenced by: '<Root>/omega_VSP_2'
                                          */
    real_T omega_VSP_2_P6;               /* Expression: btype
                                          * Referenced by: '<Root>/omega_VSP_2'
                                          */
    real_T Switch_indicator_P1;          /* Expression: width
                                          * Referenced by: '<Root>/Switch_indicator'
                                          */
    real_T Switch_indicator_P2;          /* Expression: dtype
                                          * Referenced by: '<Root>/Switch_indicator'
                                          */
    real_T Switch_indicator_P3;          /* Expression: portnum
                                          * Referenced by: '<Root>/Switch_indicator'
                                          */
    real_T Switch_indicator_P4;          /* Expression: stime
                                          * Referenced by: '<Root>/Switch_indicator'
                                          */
    real_T Switch_indicator_P5;          /* Expression: stype
                                          * Referenced by: '<Root>/Switch_indicator'
                                          */
    real_T Switch_indicator_P6;          /* Expression: btype
                                          * Referenced by: '<Root>/Switch_indicator'
                                          */
  };
  
  /* Real-time Model Data Structure */
  struct tag_RTM_button_switch_T {
    const char_T *path;
    const char_T *modelName;
    struct SimStruct_tag * *childSfunctions;
    const char_T *errorStatus;
    SS_SimMode simMode;
    RTWLogInfo *rtwLogInfo;
    RTWExtModeInfo *extModeInfo;
    RTWSolverInfo solverInfo;
    RTWSolverInfo *solverInfoPtr;
    void *sfcnInfo;
  
    /*
     * ModelData:
     * The following substructure contains information regarding
     * the data used in the model.
     */
    struct {
      void *blockIO;
      const void *constBlockIO;
      void *defaultParam;
      ZCSigState *prevZCSigState;
      real_T *contStates;
      real_T *derivs;
      void *zcSignalValues;
      void *inputs;
      void *outputs;
      boolean_T *contStateDisabled;
      boolean_T zCCacheNeedsReset;
      boolean_T derivCacheNeedsReset;
      boolean_T blkStateChange;
      void *dwork;
    } ModelData;
  
    /*
     * Sizes:
     * The following substructure contains sizes information
     * for many of the model attributes such as inputs, outputs,
     * dwork, sample times, etc.
     */
    struct {
      uint32_T checksums[4];
      uint32_T options;
      int_T numContStates;
      int_T numU;
      int_T numY;
      int_T numSampTimes;
      int_T numBlocks;
      int_T numBlockIO;
      int_T numBlockPrms;
      int_T numDwork;
      int_T numSFcnPrms;
      int_T numSFcns;
      int_T numIports;
      int_T numOports;
      int_T numNonSampZCs;
      int_T sysDirFeedThru;
      int_T rtwGenSfcn;
    } Sizes;
  
    /*
     * SpecialInfo:
     * The following substructure contains special information
     * related to other components that are dependent on RTW.
     */
    struct {
      const void *mappingInfo;
      void *xpcData;
    } SpecialInfo;
  
    /*
     * Timing:
     * The following substructure contains information regarding
     * the timing information for the model.
     */
    struct {
      time_T stepSize;
      uint32_T clockTick0;
      uint32_T clockTickH0;
      time_T stepSize0;
      time_T tStart;
      time_T tFinal;
      time_T timeOfLastOutput;
      void *timingData;
      real_T *varNextHitTimesList;
      SimTimeStep simTimeStep;
      boolean_T stopRequestedFlag;
      time_T *sampleTimes;
      time_T *offsetTimes;
      int_T *sampleTimeTaskIDPtr;
      int_T *sampleHits;
      int_T *perTaskSampleHits;
      time_T *t;
      time_T sampleTimesArray[1];
      time_T offsetTimesArray[1];
      int_T sampleTimeTaskIDArray[1];
      int_T sampleHitArray[1];
      int_T perTaskSampleHitsArray[1];
      time_T tArray[1];
    } Timing;
  };
  
  /* Block parameters (auto storage) */
  extern P_button_switch_T button_switch_P;
  
  /* Block signals (auto storage) */
  extern B_button_switch_T button_switch_B;
  
  /* Block states (auto storage) */
  extern DW_button_switch_T button_switch_DW;
  
  /* Real-time Model object */
  extern RT_MODEL_button_switch_T *const button_switch_M;
  
  /*-
   * The generated code includes comments that allow you to trace directly
   * back to the appropriate location in the model.  The basic format
   * is <system>/block_name, where system is the system number (uniquely
   * assigned by Simulink) and block_name is the name of the block.
   *
   * Use the MATLAB hilite_system command to trace the generated code back
   * to the model.  For example,
   *
   * hilite_system('<S3>')    - opens system 3
   * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
   *
   * Here is the system hierarchy for this model
   *
   * '<Root>' : 'button_switch'
   * '<S1>'   : 'button_switch/Sixaxis_force_ctrl'
   * '<S2>'   : 'button_switch/Sixaxis_manual_thruster_ctlr'
   * '<S3>'   : 'button_switch/Student_CTRL'
   * '<S4>'   : 'button_switch/Switch_subsystem'
   * '<S5>'   : 'button_switch/Template_DP_ctrl'
   * '<S6>'   : 'button_switch/Switch_subsystem/Switch_function'
   */
  #endif                                 /* RTW_HEADER_button_switch_h_ */
  
  /*========================================================================*
   * NI VeriStand Generated Code                                            *
   *========================================================================**/
  #define NI_SIT_PARAMS
  #ifdef NI_ROOTMODEL_button_switch
  #ifndef NI_VERISTAND_MODELDATAFILE
  #ifdef NI_VERISTAND_MAINMODELFILE
  
  int READSIDE = 0;
  int tid = 0;
  
  #ifdef MULTITASKING
  
  P_button_switch_T rtParameter[NUMST+!TID01EQ];
  P_button_switch_T *param_lookup[NUMST][2] = {
    { &rtParameter[0], &rtParameter[1] },
  };
  
  #else
  
  P_button_switch_T rtParameter[2];
  
  #endif
  
  #else
  
  extern int READSIDE;
  
  #ifdef MULTITASKING
  
  extern int tid;
  extern P_button_switch_T* param_lookup[NUMST][2];
  
  #else
  
  extern P_button_switch_T rtParameter[];
  
  #endif
  #endif
  
  #ifdef MULTITASKING
  #define button_switch_P                (*param_lookup[tid][READSIDE])
  #else
  #define button_switch_P                rtParameter[READSIDE]
  #endif
  #endif
  #endif
  