⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ipa_control_common.h

📁 其中提到遺傳學的程式碼與應用提供給次淚相向的研究者參考下載
💻 H
📖 第 1 页 / 共 3 页
字号:
/*
 * IPa_control_common.h
 *
 * Real-Time Workshop code generation for Simulink model "IPa_control.mdl".
 *
 * Model Version                        : 1.38
 * Real-Time Workshop file version      : 4.0 $Date: 2000/09/19 19:45:27 $
 * Real-Time Workshop file generated on : Fri Aug 03 15:50:52 2001
 * TLC version                          : 4.0 (Aug 21 2000)
 * C source code generated on           : Fri Aug 03 15:50:53 2001
 *
 * Relevant TLC Options:
 *   InlineParameters      = 0
 *   RollThreshold         = 5
 *   CodeFormat            = RealTime
 *
 * Simulink model settings:
 *   Solver     : FixedStep
 *   StartTime  : 0.0 s
 *   StopTime   : 6.0 s
 *   FixedStep  : 0.01 s
 */

#ifndef _RTW_COMMON_HEADER_FILE_
#define _RTW_COMMON_HEADER_FILE_

#ifndef TRUE
# define TRUE (1)
#endif
#ifndef FALSE
# define FALSE (0)
#endif

#define fcn_call_T                      real_T
#define pointer_T                       void*

#define assert(exp)

#include <math.h>

#include "simstruc.h"
#include "rtwlog.h"
#include "rtlibsrc.h"
#include "IPa_control_export.h"

/*
 * Block I/O Structure 
 *
 * Note: Individual field names are derived from the signal name when
 * present, otherwise, field names are derived from the source block name
 * with an optional port number appened to the block name if the block has
 * multiple output ports. The comment to the right of structure field
 * contains the signal source block name.
 *
 */

typedef struct BlockIO_tag {
  real_T root_Gain2;                    /* <Root>/Gain2 */
  real_T root_Gain4;                    /* <Root>/Gain4 */
  real_T root_Sum;                      /* <Root>/Sum */
  real_T root_Gain;                     /* <Root>/Gain */
  real_T root_Gain3;                    /* <Root>/Gain3 */
  real_T s2_Integrator;                 /* <S2>/Integrator */
  real_T root_Gain1;                    /* <Root>/Gain1 */
  real_T s39_b_a;                       /* <S39>/Sum1 */
  real_T s39_c_b;                       /* <S39>/Sum2 */
  real_T s34_b_a;                       /* <S34>/Sum1 */
  real_T s34_c_b;                       /* <S34>/Sum2 */
  real_T s35_b_a;                       /* <S35>/Sum1 */
  real_T s35_c_b;                       /* <S35>/Sum2 */
  real_T s38_b_a;                       /* <S38>/Sum1 */
  real_T s38_c_b;                       /* <S38>/Sum2 */
  real_T s37_b_a;                       /* <S37>/Sum1 */
  real_T s37_c_b;                       /* <S37>/Sum2 */
  real_T s36_b_a;                       /* <S36>/Sum1 */
  real_T s36_c_b;                       /* <S36>/Sum2 */
  real_T s40_b_a;                       /* <S40>/Sum1 */
  real_T s40_c_b;                       /* <S40>/Sum2 */
  real_T s43_b_a;                       /* <S43>/Sum1 */
  real_T s43_c_b;                       /* <S43>/Sum2 */
  real_T s42_b_a;                       /* <S42>/Sum1 */
  real_T s42_c_b;                       /* <S42>/Sum2 */
  real_T s41_b_a;                       /* <S41>/Sum1 */
  real_T s41_c_b;                       /* <S41>/Sum2 */
  real_T s1_Gain3;                      /* <S1>/Gain3 */
  real_T s2_Fcn;                        /* <S2>/Fcn */
  real_T root_Clock;                    /* <Root>/Clock */
} BlockIO;

/*
 * Default Parameters Structure 
 *
 * Note: The parameters structure contains all the block parameters
 * in the model.  Individual field names are comprised of the block and
 * parameter name.
 *
 */

typedef struct Parameters_tag {
  real_T root_Step_Time;                /* Expression: 0
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Step
                                         */
  real_T root_Step_Y0;                  /* Expression: 0
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Step
                                         */
  real_T root_Step_YFinal;              /* Expression: 0
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Step
                                         */
  real_T root_Constant_Value;           /* Variable: root_Constant_Value
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Constant
                                         */
  real_T root_Gain2_Gain;               /* Expression: pi/180
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Gain2
                                         */
  real_T s2_Saturation_UpperSat;        /* Expression: pi/2
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S2>/Saturation
                                         */
  real_T s2_Saturation_LowerSat;        /* Expression: -pi/2
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S2>/Saturation
                                         */
  real_T root_Random_Number_Mean;       /* Expression: 0
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Random Number
                                         */
  real_T root_Random_Number_StdDev;     /* Computed Parameter: StdDev
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Random Number
                                         */
  real_T root_Gain4_Gain;               /* Expression: 0.001
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Gain4
                                         */
  real_T root_Gain_Gain;                /* Expression: 180/pi
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Gain
                                         */
  real_T root_Constant1_Value;          /* Variable: root_Constant1_Value
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Constant1
                                         */
  real_T root_Gain3_Gain;               /* Expression: pi/180
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Gain3
                                         */
  real_T root_Gain1_Gain;               /* Expression: 180/pi
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <Root>/Gain1
                                         */
  real_T s5_x_data_Value[101];          /* Computed Parameter: Value
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S5>/x data
                                         */
  real_T s6_Weight_Value;               /* Expression: fis.rule(j_rule).weight
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S6>/Weight
                                         */
  real_T s1_Gain2_Gain;                 /* Variable: s1_Gain2_Gain
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S1>/Gain2
                                         */
  real_T s1_Saturation_UpperSat;        /* Expression: pi/2
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S1>/Saturation
                                         */
  real_T s1_Saturation_LowerSat;        /* Expression: -pi/2
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S1>/Saturation
                                         */
  real_T s39_a_Value;                   /* Computed Parameter: Value
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S39>/a
                                         */
  real_T s39_b_Value;                   /* Computed Parameter: Value
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S39>/b
                                         */
  real_T s39_c_Value;                   /* Computed Parameter: Value
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S39>/c
                                         */
  real_T s39_0_Value;                   /* Expression: 0
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S39>/0
                                         */
  real_T s1_Gain1_Gain;                 /* Variable: s1_Gain1_Gain
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S1>/Gain1
                                         */
  real_T s1_Saturation1_UpperSat;       /* Expression: pi/4
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S1>/Saturation1
                                         */
  real_T s1_Saturation1_LowerSat;       /* Expression: -pi/4
                                         * External Mode Tunable: yes
                                         * Referenced by block:
                                         * <S1>/Saturation1
                                         */
  real_T s34_a_Value;                   /* Computed Parameter: Value

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -