#ifndef Alinear_encoder_cal_h_
#define Alinear_encoder_cal_h_
#include "rtwtypes.h"

/* Storage class 'PageSwitching', for system '<Root>' */
struct Alinear_encoder_cal_type {
  real_T EdgeDetector_model;           /* Mask Parameter: EdgeDetector_model
                                        * Referenced by: '<S4>/Constant1'
                                        */
  boolean_T EdgeDetector_ic;           /* Mask Parameter: EdgeDetector_ic
                                        * Referenced by: '<S4>/Memory'
                                        */
  real_T Out1_Y0;                      /* Expression: -1e6
                                        * Referenced by: '<S8>/Out1'
                                        */
  real_T posedge_Value[2];             /* Expression: [1 0]
                                        * Referenced by: '<S4>/pos. edge'
                                        */
  real_T negedge_Value[2];             /* Expression: [0 1]
                                        * Referenced by: '<S4>/neg. edge'
                                        */
  real_T eitheredge_Value[2];          /* Expression: [1 1]
                                        * Referenced by: '<S4>/either edge'
                                        */
  real_T Gain1_Gain;                   /* Expression: -1
                                        * Referenced by: '<S1>/Gain1'
                                        */
  real_T _Y0;                          /* Expression: initCond
                                        * Referenced by: '<S2>/ '
                                        */
  real_T Constant1_Value;              /* Expression: 0
                                        * Referenced by: '<Root>/Constant1'
                                        */
  real_T Constant_Value;               /* Expression: 0
                                        * Referenced by: '<S1>/Constant'
                                        */
  real_T Encoder1_P1_Size[2];          /* Computed Parameter: Encoder1_P1_Size
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P1;                  /* Expression: id
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P2_Size[2];          /* Computed Parameter: Encoder1_P2_Size
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P2[3];               /* Expression: chan
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P3_Size[2];          /* Computed Parameter: Encoder1_P3_Size
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P3;                  /* Expression: vectorizeOutput
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P4_Size[2];          /* Computed Parameter: Encoder1_P4_Size
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Encoder1_P4;                  /* Expression: ts
                                        * Referenced by: '<Root>/Encoder1'
                                        */
  real_T Delay1_InitialCondition;      /* Expression: 0
                                        * Referenced by: '<S1>/Delay1'
                                        */
  real_T Switch2_Threshold;            /* Expression: 0
                                        * Referenced by: '<S1>/Switch2'
                                        */
  real_T Delay2_InitialCondition;      /* Expression: 0
                                        * Referenced by: '<S1>/Delay2'
                                        */
  real_T Constant_Value_p;             /* Expression: eps
                                        * Referenced by: '<S5>/Constant'
                                        */
  boolean_T OUT_Y0;                    /* Computed Parameter: OUT_Y0
                                        * Referenced by: '<S6>/OUT'
                                        */
  boolean_T OUT_Y0_c;                  /* Computed Parameter: OUT_Y0_c
                                        * Referenced by: '<S7>/OUT'
                                        */
};

/* Storage class 'PageSwitching' */
extern Alinear_encoder_cal_type Alinear_encoder_cal_impl;
extern Alinear_encoder_cal_type *Alinear_encoder_cal;

#endif                                 /* Alinear_encoder_cal_h_ */
