/*
 * Model210_DT_sv1_data.c
 *
 * Real-Time Workshop code generation for Simulink model "Model210_DT_sv1.mdl".
 *
 * Model version              : 1.152
 * Real-Time Workshop version : 7.5  (R2010a)  25-Jan-2010
 * C source code generated on : Mon May 09 14:54:45 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 "Model210_DT_sv1.h"
#include "Model210_DT_sv1_private.h"

/* Block parameters (auto storage) */
Parameters_Model210_DT_sv1 Model210_DT_sv1_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.02,                                /* Expression: STime
                                        * Referenced by: '<S3>/S-Function'
                                        */

  /*  Computed Parameter: SFunction_P3_Size
   * Referenced by: '<S3>/S-Function'
   */
  { 1.0, 1.0 },
  2000.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: get_positions
   * Referenced by: '<S2>/get positions'
   */
  { 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 },
  1.4230418943533698E-005,             /* Expression: 1/(32*2196)
                                        * Referenced by: '<S2>/scale1'
                                        */

  /*  Expression: get_angles
   * Referenced by: '<S2>/get angles'
   */
  { 0.0, 0.0, 0.0, 1.0, 0.0 },
  1.1982361963190184E-005,             /* Expression: 1/(32*2608)
                                        * Referenced by: '<S2>/scale2'
                                        */

  /*  Expression: get_all_states
   * Referenced by: '<S2>/get all  states'
   */
  { 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,
    0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0,
    0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
    1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0,
    0.0, 0.0, 0.0, 1.0 },

  /*  Expression: get_desired_states
   * Referenced by: '<S2>/get  desired states'
   */
  { 1.0, 0.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0,
    0.0 },
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S1>/Unit Delay'
                                        */

  /*  Expression: C
   * Referenced by: '<Root>/C'
   */
  { 1.0, 0.0, 0.0 },
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<S1>/Dac2 Value'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Input'
                                        */
  0.0,                                 /* Expression: 0
                                        * Referenced by: '<Root>/Input'
                                        */
  0.5,                                 /* Expression: Amp
                                        * Referenced by: '<Root>/Input'
                                        */
  1.1544050835024612E-001,             /* Expression: Gpf
                                        * Referenced by: '<Root>/Gpf'
                                        */

  /*  Expression: K
   * Referenced by: '<Root>/K'
   */
  { -1.7256864068928549E-001, 3.8073908507068551E-003, 3.3618901642137139E-001 },
  70272.0,                             /* Expression: 32*2196
                                        * Referenced by: '<S1>/scale'
                                        */
  32000.0,                             /* Expression: 32000
                                        * Referenced by: '<S1>/Saturation'
                                        */
  -32000.0                             /* Expression: -32000
                                        * Referenced by: '<S1>/Saturation'
                                        */
};
