#include "__cf_CMFB.h"
#ifndef RTW_HEADER_CMFB_acc_h_
#define RTW_HEADER_CMFB_acc_h_
#include <stddef.h>
#include <float.h>
#ifndef CMFB_acc_COMMON_INCLUDES_
#define CMFB_acc_COMMON_INCLUDES_
#include <stdlib.h>
#define S_FUNCTION_NAME simulink_only_sfcn 
#define S_FUNCTION_LEVEL 2
#define RTW_GENERATED_S_FUNCTION
#include "sl_AsyncioQueue/AsyncioQueueCAPI.h"
#include "simtarget/slSimTgtSigstreamRTW.h"
#include "simtarget/slSimTgtSlioCoreRTW.h"
#include "simtarget/slSimTgtSlioClientsRTW.h"
#include "rtwtypes.h"
#include "simstruc.h"
#include "fixedpoint.h"
#endif
#include "CMFB_acc_types.h"
#include "multiword_types.h"
#include "mwmathutil.h"
#include "rt_zcfcn.h"
#include "rtGetInf.h"
#include "rt_defines.h"
#include "rt_nonfinite.h"
typedef struct { real_T B_2_1_0 [ 2 ] ; real_T B_2_2_0 ; real_T B_2_4_0 ;
real_T B_2_5_0 ; real_T B_2_6_0 ; real_T B_2_8_0 ; real_T B_2_9_0 ; real_T
B_2_13_0 ; real_T B_2_14_0 ; real_T B_2_16_0 ; real_T B_2_17_0 ; real_T
B_2_21_0 ; real_T B_2_22_0 ; real_T B_2_24_0 ; real_T B_2_25_0 ; real_T
B_2_27_0 [ 12 ] ; real_T B_2_28_0 [ 22 ] ; real_T B_2_34_0 ; real_T B_2_37_0
; real_T B_2_38_0 ; real_T B_2_39_0 ; real_T B_2_42_0 ; real_T B_2_44_0 ;
real_T B_2_45_0 ; real_T B_2_47_0 ; real_T B_2_58_0 ; real_T B_2_59_0 ;
real_T B_2_60_0 ; real_T B_2_61_0 ; real_T B_2_62_0 ; real_T B_2_63_0 ;
real_T B_2_64_0 ; real_T B_2_65_0 ; real_T B_2_66_0 ; real_T B_2_67_0 ;
real_T B_2_68_0 ; real_T B_2_69_0 ; real_T B_2_70_0 ; real_T B_2_71_0 ;
real_T B_2_72_0 [ 4 ] ; real_T B_2_73_0 ; real_T B_2_74_0 ; real_T B_2_75_0 ;
real_T B_2_76_0 ; real_T B_2_77_0 ; real_T B_2_78_0 ; real_T B_2_79_0 ;
real_T B_2_80_0 ; real_T B_2_81_0 ; real_T B_2_82_0 ; real_T B_2_83_0 ;
real_T B_2_84_0 ; real_T B_2_85_0 [ 4 ] ; real_T B_2_86_0 ; real_T B_2_87_0 [
4 ] ; real_T B_2_88_0 ; real_T B_2_90_0 ; real_T B_2_91_0 ; real_T B_2_92_0 ;
real_T B_2_93_0 ; real_T B_2_94_0 ; real_T B_2_95_0 ; real_T B_2_96_0 ;
real_T B_2_97_0 ; real_T B_2_98_0 ; real_T B_2_99_0 [ 2 ] ; real_T B_2_103_0
[ 6 ] ; real_T B_2_104_0 [ 3 ] ; real_T B_2_105_0 [ 4 ] ; real_T B_2_106_0 [
4 ] ; real_T B_2_107_0 ; real_T B_2_108_0 [ 4 ] ; real_T B_2_109_0 [ 4 ] ;
real_T B_2_110_0 [ 3 ] ; real_T B_2_111_0 [ 4 ] ; real_T B_2_112_0 [ 4 ] ;
real_T B_2_113_0 [ 4 ] ; real_T B_2_114_0 [ 4 ] ; real_T B_2_115_0 ; real_T
B_2_136_0 [ 2 ] ; real_T B_2_194_0 [ 4 ] ; real_T B_0_0_0 ; real_T B_0_2_0 ;
real_T B_0_3_0 ; real_T B_0_4_0 ; real_T B_0_5_0 ; real_T B_0_6_0 ; real_T
B_0_7_0 ; real_T B_0_8_0 ; real_T B_0_10_0 ; real_T B_0_11_0 ; real_T
B_0_12_0 ; real_T B_0_13_0 ; real_T B_0_15_0 ; real_T B_0_16_0 ; real_T
B_0_17_0 ; real_T B_0_18_0 ; real_T B_0_19_0 ; real_T B_0_20_0 ; real_T
B_0_21_0 ; real_T B_0_22_0 ; real_T B_0_23_0 ; real_T B_0_24_0 [ 2 ] ; real_T
B_0_25_0 ; real_T B_0_27_0 ; real_T B_0_28_0 [ 2 ] ; real_T B_0_29_0 ; real_T
B_0_30_0 ; real_T B_0_31_0 ; real_T B_0_32_0 ; real_T B_0_33_0 [ 2 ] ; real_T
B_0_34_0 [ 2 ] ; real_T B_0_37_0 ; real_T B_0_42_0 ; real_T B_0_43_0 ;
boolean_T B_2_7_0 ; boolean_T B_2_15_0 ; boolean_T B_2_23_0 ; boolean_T
B_2_36_0 ; char_T pad_B_2_36_0 [ 4 ] ; } B_CMFB_T ; typedef struct { real_T
INPUT_2_1_1_discrete [ 2 ] ; real_T INPUT_1_1_1_discrete [ 2 ] ; real_T
INTERNAL_2_1_1_discrete [ 2 ] ; real_T INPUT_3_1_1_discrete [ 2 ] ; real_T
INPUT_4_1_1_discrete [ 2 ] ; real_T INPUT_5_1_1_discrete [ 2 ] ; real_T
INPUT_10_1_1_discrete [ 2 ] ; real_T INPUT_6_1_1_discrete [ 2 ] ; real_T
INPUT_7_1_1_discrete [ 2 ] ; real_T INPUT_8_1_1_discrete [ 2 ] ; real_T
INPUT_9_1_1_discrete [ 2 ] ; real_T INTERNAL_1_1_1_discrete [ 2 ] ; real_T
NextOutput ; real_T Memory_PreviousInput ; real_T NextOutput_b ; real_T
Memory1_PreviousInput ; real_T NextOutput_j ; real_T Memory2_PreviousInput ;
real_T Memory_PreviousInput_m ; real_T nextTime ; real_T nextTime_b ; int64_T
numCompleteCycles ; int64_T numCompleteCycles_j ; struct { real_T modelTStart
; } VariableTimeDelay_RWORK ; struct { real_T modelTStart ; }
VariableTimeDelay1_RWORK ; struct { real_T modelTStart ; }
VariableTimeDelay2_RWORK ; void * STATE_2_Simulator ; void *
STATE_2_SimulationData ; void * STATE_2_DiagnosticManager ; void *
STATE_2_Logger ; void * STATE_2_SampleTimeIdx ; void * OUTPUT_2_0_Simulator ;
void * OUTPUT_2_0_SimulationData ; void * OUTPUT_2_0_DiagnosticManager ; void
* OUTPUT_2_0_Logger ; void * OUTPUT_2_0_SampleTimeIdx ; struct { void *
TUbufferPtrs [ 2 ] ; } VariableTimeDelay_PWORK ; struct { void * TUbufferPtrs
[ 2 ] ; } VariableTimeDelay1_PWORK ; struct { void * TUbufferPtrs [ 2 ] ; }
VariableTimeDelay2_PWORK ; void * STATE_3_Simulator ; void *
STATE_3_SimulationData ; void * STATE_3_DiagnosticManager ; void *
STATE_3_Logger ; void * STATE_3_SampleTimeIdx ; void * OUTPUT_3_0_Simulator ;
void * OUTPUT_3_0_SimulationData ; void * OUTPUT_3_0_DiagnosticManager ; void
* OUTPUT_3_0_Logger ; void * OUTPUT_3_0_SampleTimeIdx ; void *
HiddenToWks_InsertedFor_EventHumanSensation_at_outport_0_PWORK ; void *
HiddenToWks_InsertedFor_EventHumanSensation_at_outport_1_PWORK ; void *
HiddenToWks_InsertedFor_EventHumanSensation_at_outport_2_PWORK ; void *
HiddenToWks_InsertedFor_MuscleFingerButtonEvent_at_outport_2_PWORK ; void *
Scope_PWORK [ 3 ] ; void * ToWorkspace_PWORK ; void * ToWorkspace1_PWORK ;
void * Compare_PWORK [ 2 ] ; void *
KeyEventDetectiondetected1notdetected0_PWORK ; void *
KeyEventDetectiontime1_PWORK ; void * ToWorkspace_PWORK_p ; void *
ToWorkspace1_PWORK_b ; void * OUTPUT_1_0_Simulator ; void *
OUTPUT_1_0_SimulationData ; void * OUTPUT_1_0_DiagnosticManager ; void *
OUTPUT_1_0_Logger ; void * OUTPUT_1_0_SampleTimeIdx ; void *
OUTPUT_3_1_Simulator ; void * OUTPUT_3_1_SimulationData ; void *
OUTPUT_3_1_DiagnosticManager ; void * OUTPUT_3_1_Logger ; void *
OUTPUT_3_1_SampleTimeIdx ; void * FingerAcceleration_PWORK ; void *
FingerHeight_PWORK ; void * FingerVelocity_PWORK ; void * Muscleforces_PWORK
; void * Muscleforces2_PWORK ; void * ToWorkspace2_PWORK ; void *
Scope_PWORK_l ; struct { void * AQHandles ; void * SlioLTF ; }
HiddenToAsyncQueue_InsertedFor_Mux_at_outport_0_PWORK ; void *
ContactForce_PWORK ; void * Fingerpulpcompression_PWORK ; void *
ToWorkspace3_PWORK ; void * Scope1_PWORK [ 2 ] ; void * Scope_PWORK_a ; void
* ButtonHeight_PWORK ; struct { void * AQHandles ; void * SlioLTF ; }
HiddenToAsyncQueue_InsertedFor_Mux_at_outport_0_PWORK_o ; void *
SINK_1_Simulator ; void * SINK_1_SimulationData ; void *
SINK_1_DiagnosticManager ; void * SINK_1_Logger ; void * SINK_1_SampleTimeIdx
; void * SINK_2_Simulator ; void * SINK_2_SimulationData ; void *
SINK_2_DiagnosticManager ; void * SINK_2_Logger ; void * SINK_2_SampleTimeIdx
; void * SINK_3_Simulator ; void * SINK_3_SimulationData ; void *
SINK_3_DiagnosticManager ; void * SINK_3_Logger ; void * SINK_3_SampleTimeIdx
; void * STATE_1_Simulator ; void * STATE_1_SimulationData ; void *
STATE_1_DiagnosticManager ; void * STATE_1_Logger ; void *
STATE_1_SampleTimeIdx ; int32_T justEnabled ; int32_T currentValue ; int32_T
justEnabled_h ; int32_T currentValue_h ; uint32_T RandSeed ; uint32_T
RandSeed_g ; uint32_T RandSeed_gn ; int_T STATE_2_Modes ; struct { int_T Tail
; int_T Head ; int_T Last ; int_T CircularBufSize ; int_T MaxNewBufSize ; }
VariableTimeDelay_IWORK ; struct { int_T Tail ; int_T Head ; int_T Last ;
int_T CircularBufSize ; int_T MaxNewBufSize ; } VariableTimeDelay1_IWORK ;
struct { int_T Tail ; int_T Head ; int_T Last ; int_T CircularBufSize ; int_T
MaxNewBufSize ; } VariableTimeDelay2_IWORK ; int_T
DetectEventwiththreshold_MODE ; int_T DetectEventwiththreshold1_MODE ; int_T
DetectEventwiththreshold2_MODE ; int_T DetectEventwiththreshold_MODE_g ;
int_T Abs_MODE ; int_T MinMax1_MODE ; int_T MinMax3_MODE ; int_T
Saturation1_MODE ; int_T MinMax2_MODE ; int_T MinMax1_MODE_b ; int_T
MinMax3_MODE_m ; int_T Saturation_MODE ; int_T MinMax2_MODE_i ; int_T
DeadZone_MODE ; int_T Clamp_MODE ; int_T Sign_MODE ; int_T Sign1_MODE ;
int32_T STATE_2_MASS_MATRIX_PR ; int8_T If_ActiveSubsystem ; int8_T
Forces_SubsysRanBC ; int8_T NoForce_SubsysRanBC ; boolean_T
STATE_2_CallSimulatorOutput ; boolean_T OUTPUT_2_0_CallSimulatorOutput ;
boolean_T STATE_3_CallSimulatorOutput ; boolean_T
OUTPUT_3_0_CallSimulatorOutput ; boolean_T Switch_Mode ; boolean_T
OUTPUT_1_0_CallSimulatorOutput ; boolean_T OUTPUT_3_1_CallSimulatorOutput ;
boolean_T SINK_1_CallSimulatorOutput ; boolean_T SINK_2_CallSimulatorOutput ;
boolean_T SINK_3_CallSimulatorOutput ; boolean_T STATE_1_CallSimulatorOutput
; char_T pad_STATE_1_CallSimulatorOutput [ 6 ] ; } DW_CMFB_T ; typedef struct
{ real_T CMFBMuscle_Finger_Button_EventPC_DelayPS_Constant_DelayY ; real_T
CMFBMuscle_Finger_Button_EventButton_spring_and_damperPxp [ 12 ] ; } X_CMFB_T
; typedef struct { real_T
CMFBMuscle_Finger_Button_EventPC_DelayPS_Constant_DelayY ; real_T
CMFBMuscle_Finger_Button_EventButton_spring_and_damperPxp [ 12 ] ; }
XDot_CMFB_T ; typedef struct { boolean_T
CMFBMuscle_Finger_Button_EventPC_DelayPS_Constant_DelayY ; boolean_T
CMFBMuscle_Finger_Button_EventButton_spring_and_damperPxp [ 12 ] ; }
XDis_CMFB_T ; typedef struct { real_T
CMFBMuscle_Finger_Button_EventPC_DelayPS_Constant_DelayY ; real_T
CMFBMuscle_Finger_Button_EventButton_spring_and_damperPxp [ 12 ] ; }
CStateAbsTol_CMFB_T ; typedef struct { real_T
STATE_2_Muscle_Finger_Button_EventPC_DelayPS_Constant_Delayzc_0_ZC ; real_T
DetectEventwiththreshold_Input_ZC ; real_T DetectEventwiththreshold_Output_ZC
; real_T DetectEventwiththreshold1_Input_ZC ; real_T
DetectEventwiththreshold1_Output_ZC ; real_T
DetectEventwiththreshold2_Input_ZC ; real_T
DetectEventwiththreshold2_Output_ZC ; real_T
DetectEventwiththreshold_Input_ZC_m ; real_T
DetectEventwiththreshold_Output_ZC_b ; real_T Switch_SwitchCond_ZC ; real_T
Abs_AbsZc_ZC ; real_T MinMax1_MinmaxInput_ZC ; real_T MinMax3_MinmaxInput_ZC
; real_T Saturation1_UprLim_ZC ; real_T Saturation1_LwrLim_ZC ; real_T
MinMax2_MinmaxInput_ZC ; real_T MinMax1_MinmaxInput_ZC_h ; real_T
MinMax3_MinmaxInput_ZC_l ; real_T Saturation_UprLim_ZC ; real_T
Saturation_LwrLim_ZC ; real_T MinMax2_MinmaxInput_ZC_d ; real_T
DeadZone_LwrReg_ZC ; real_T DeadZone_UprReg_ZC ; real_T If_IfInput_ZC ;
real_T Clamp_UprLim_ZC ; real_T Clamp_LwrLim_ZC ; real_T Sign_Input_ZC ;
real_T Sign1_Input_ZC ; } ZCV_CMFB_T ; typedef struct { ZCSigState
STATE_2_Muscle_Finger_Button_EventPC_DelayPS_Constant_Delayzc_0_ZCE ;
ZCSigState DetectEventwiththreshold_Input_ZCE ; ZCSigState
DetectEventwiththreshold_Output_ZCE ; ZCSigState
DetectEventwiththreshold1_Input_ZCE ; ZCSigState
DetectEventwiththreshold1_Output_ZCE ; ZCSigState
DetectEventwiththreshold2_Input_ZCE ; ZCSigState
DetectEventwiththreshold2_Output_ZCE ; ZCSigState
DetectEventwiththreshold_Input_ZCE_h ; ZCSigState
DetectEventwiththreshold_Output_ZCE_h ; ZCSigState Switch_SwitchCond_ZCE ;
ZCSigState Abs_AbsZc_ZCE ; ZCSigState MinMax1_MinmaxInput_ZCE ; ZCSigState
MinMax3_MinmaxInput_ZCE ; ZCSigState Saturation1_UprLim_ZCE ; ZCSigState
Saturation1_LwrLim_ZCE ; ZCSigState MinMax2_MinmaxInput_ZCE ; ZCSigState
MinMax1_MinmaxInput_ZCE_a ; ZCSigState MinMax3_MinmaxInput_ZCE_o ; ZCSigState
Saturation_UprLim_ZCE ; ZCSigState Saturation_LwrLim_ZCE ; ZCSigState
MinMax2_MinmaxInput_ZCE_o ; ZCSigState DeadZone_LwrReg_ZCE ; ZCSigState
DeadZone_UprReg_ZCE ; ZCSigState If_IfInput_ZCE ; ZCSigState Clamp_UprLim_ZCE
; ZCSigState Clamp_LwrLim_ZCE ; ZCSigState Sign_Input_ZCE ; ZCSigState
Sign1_Input_ZCE ; } PrevZCX_CMFB_T ; typedef struct { int_T ir [ 13 ] ; int_T
jc [ 14 ] ; real_T pr [ 13 ] ; } MassMatrix_CMFB_T ; typedef struct { real_T
* B_2_1 ; real_T * B_2_3 ; real_T * B_2_5 ; real_T * B_2_6 ; } ExtY_CMFB_T ;
struct P_CMFB_T_ { real_T P_0 ; real_T P_1 ; real_T P_2 ; real_T P_3 ; real_T
P_4 ; real_T P_5 ; real_T P_6 ; real_T P_7 ; real_T P_8 ; real_T P_9 ; real_T
P_10 ; real_T P_11 ; real_T P_12 ; real_T P_13 ; real_T P_14 ; real_T P_15 [
2 ] ; real_T P_16 ; real_T P_17 ; real_T P_18 ; real_T P_19 ; real_T P_20 ;
real_T P_21 [ 2 ] ; real_T P_22 [ 6 ] ; real_T P_23 ; real_T P_24 ; real_T
P_25 ; real_T P_26 ; real_T P_27 ; real_T P_28 ; real_T P_29 ; real_T P_30 ;
real_T P_31 ; real_T P_32 ; real_T P_33 ; real_T P_34 ; real_T P_35 ; real_T
P_36 ; real_T P_37 ; real_T P_38 ; real_T P_39 ; real_T P_40 ; real_T P_41 ;
real_T P_42 ; real_T P_43 ; real_T P_44 ; real_T P_45 ; real_T P_46 ; real_T
P_47 ; real_T P_48 ; real_T P_49 ; real_T P_50 ; real_T P_51 ; real_T P_52 ;
real_T P_53 ; real_T P_54 ; real_T P_55 ; real_T P_56 ; real_T P_57 ; real_T
P_58 ; real_T P_59 ; real_T P_60 ; real_T P_61 ; real_T P_62 ; real_T P_63 ;
real_T P_64 ; real_T P_65 ; real_T P_66 ; real_T P_67 ; real_T P_68 ; real_T
P_69 ; real_T P_70 ; real_T P_71 ; real_T P_72 ; real_T P_73 ; real_T P_74 ;
real_T P_75 ; real_T P_76 ; real_T P_77 ; real_T P_78 ; real_T P_79 ; real_T
P_80 ; real_T P_81 ; } ; extern P_CMFB_T CMFB_rtDefaultP ;
#endif
