/*
 * Model205_Closedloop_data.c
 *
 * Real-Time Workshop code generation for Simulink model "Model205_Closedloop.mdl".
 *
 * Model version              : 1.108
 * Real-Time Workshop version : 7.5  (R2010a)  25-Jan-2010
 * C source code generated on : Tue Jan 11 13:09:55 2011
 *
 * Target selection: rtwin.tlc
 * Note: GRT includes extra infrastructure and instrumentation for prototyping
 * Embedded hardware selection: 32-bit Generic
 * Emulation hardware selection:
 *    Differs from embedded hardware (MATLAB Host)
 * Code generation objectives: Unspecified
 * Validation result: Not run
 */

#include "Model205_Closedloop.h"
#include "Model205_Closedloop_private.h"

/* Block parameters (auto storage) */
Parameters_Model205_Closedloop Model205_Closedloop_P = {
  /*  Computed Parameter: SFunction_P1_Size
   * Referenced by: '<S3>/S-Function'
   */
  { 1.0, 6.0 },

  /*  Computed Parameter: SFunction_P1
   * Referenced by: '<S3>/S-Function'
   */
  { 48.0, 120.0, 68.0, 56.0, 48.0, 48.0 },

  /*  Computed Parameter: SFunction_P2_Size
   * Referenced by: '<S3>/S-Function'
   */
  { 1.0, 1.0 },
  0.004,                               /* Expression: STime
                                        * Referenced by: '<S3>/S-Function'
                                        */

  /*  Computed Parameter: SFunction_P3_Size
   * Referenced by: '<S3>/S-Function'
   */
  { 1.0, 1.0 },
  500.0,                               /* Expression: TimeOutPer
                                        * Referenced by: '<S3>/S-Function'
                                        */

  /*  Computed Parameter: SFunction_P4_Size
   * Referenced by: '<S3>/S-Function'
   */
  { 1.0, 1.0 },
  1.0,                                 /* Expression: HWAccess
                                        * Referenced by: '<S3>/S-Function'
                                        */

  /*  Expression: [0 1 0 0 0; 1 0 0 0 0 ]
   * Referenced by: '<S2>/get positions'
   */
  { 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 },
  1.2274155538098980E-005,             /* Expression: 1/(32*2546)
                                        * Referenced by: '<S2>/scale1'
                                        */
  -16.8,                               /* Computed Parameter: Prefilter_A
                                        * Referenced by: '<Root>/Prefilter'
                                        */
  1.6799999999999990E+001,             /* Computed Parameter: Prefilter_C
                                        * Referenced by: '<Root>/Prefilter'
                                        */
  -0.0,                                /* Computed Parameter: Controller_A
                                        * Referenced by: '<Root>/Controller'
                                        */
  2.3520000000000002E-001,             /* Computed Parameter: Controller_C
                                        * Referenced by: '<Root>/Controller'
                                        */
  0.014,                               /* Computed Parameter: Controller_D
                                        * Referenced by: '<Root>/Controller'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S1>/Dac2 Value'
                                        */
  81472.0,                             /* Expression: 32*2546
                                        * Referenced by: '<S1>/scale'
                                        */
  32000.0,                             /* Expression: 32000
                                        * Referenced by: '<S1>/Saturation'
                                        */
  -32000.0,                            /* Expression: -32000
                                        * Referenced by: '<S1>/Saturation'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Step'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Step'
                                        */
  1.7453292519943295E-001              /* Expression: Amp
                                        * Referenced by: '<Root>/Step'
                                        */
};
