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

📄 flc3_samplea_acc.h

📁 其中提到遺傳學的程式碼與應用提供給次淚相向的研究者參考下載
💻 H
📖 第 1 页 / 共 2 页
字号:
/*
 * flc3_sampleA_acc.h
 *
 * Real-Time Workshop code generation for Simulink model "flc3_sampleA_acc.mdl".
 *
 * Model Version              : 1.109
 * Real-Time Workshop version : 6.1  (R14SP1)  05-Sep-2004
 * C source code generated on : Sun May 29 10:57:23 2005
 */
#ifndef _RTW_HEADER_flc3_sampleA_acc_h_
#define _RTW_HEADER_flc3_sampleA_acc_h_

#include <stdlib.h>
#include <math.h>
#include <float.h>
#define S_FUNCTION_NAME                 simulink_only_sfcn
#define S_FUNCTION_LEVEL                2
#define RTW_GENERATED_S_FUNCTION

#include "rtwtypes.h"
#include "simstruc.h"
#include "fixedpoint.h"
#include "rt_nonfinite.h"
#include "rtlibsrc.h"

#include "flc3_sampleA_acc_types.h"

/* Block signals (auto storage) */
typedef struct _flc3_sampleA_BlockIO {
  real_T PulseGenerator;                /* '<Root>/Pulse Generator' */
  real_T Constant;                      /* '<Root>/Constant' */
  real_T Gain;                          /* '<Root>/Gain' */
  real_T TransferFcn2;                  /* '<Root>/Transfer Fcn2' */
  real_T Sum;                           /* '<Root>/Sum' */
  real_T Weight;                        /* '<S6>/Weight' */
  real_T Gain1;                         /* '<S1>/Gain1' */
  real_T mu;                            /* '<S23>/mu' */
  real_T sigma;                         /* '<S23>/sigma' */
  real_T Gain2;                         /* '<S1>/Gain2' */
  real_T mu_p;                          /* '<S20>/mu' */
  real_T sigma_k;                       /* '<S20>/sigma' */
  real_T Weight_m;                      /* '<S7>/Weight' */
  real_T mu_m;                          /* '<S22>/mu' */
  real_T sigma_i;                       /* '<S22>/sigma' */
  real_T Weight_b;                      /* '<S8>/Weight' */
  real_T mu_o;                          /* '<S21>/mu' */
  real_T sigma_d;                       /* '<S21>/sigma' */
  real_T Weight_c;                      /* '<S9>/Weight' */
  real_T mu_f;                          /* '<S25>/mu' */
  real_T sigma_j;                       /* '<S25>/sigma' */
  real_T Weight_k;                      /* '<S10>/Weight' */
  real_T Weight_bq;                     /* '<S11>/Weight' */
  real_T Weight_ka;                     /* '<S12>/Weight' */
  real_T mu_g;                          /* '<S24>/mu' */
  real_T sigma_m;                       /* '<S24>/sigma' */
  real_T Weight_i;                      /* '<S13>/Weight' */
  real_T Weight_kb;                     /* '<S14>/Weight' */
  real_T TotalFiringStrength;           /* '<S4>/Total Firing Strength' */
  real_T Merge;                         /* '<S5>/Merge' */
  real_T LinearCoeff[2];                /* '<S26>/Linear Coeff' */
  real_T ConstantCoeff;                 /* '<S26>/Constant Coeff' */
  real_T LinearCoeff_c[2];              /* '<S27>/Linear Coeff' */
  real_T ConstantCoeff_o;               /* '<S27>/Constant Coeff' */
  real_T LinearCoeff_g[2];              /* '<S30>/Linear Coeff' */
  real_T ConstantCoeff_h;               /* '<S30>/Constant Coeff' */
  real_T LinearCoeff_m[2];              /* '<S29>/Linear Coeff' */
  real_T ConstantCoeff_oe;              /* '<S29>/Constant Coeff' */
  real_T LinearCoeff_k[2];              /* '<S28>/Linear Coeff' */
  real_T ConstantCoeff_f;               /* '<S28>/Constant Coeff' */
  real_T MidRange;                      /* '<S4>/MidRange' */
  real_T Zero;                          /* '<S4>/Zero' */
  real_T ZeroFiringStrength;            /* '<S4>/Zero Firing Strength?' */
  real_T Gain4;                         /* '<S1>/Gain4' */
  real_T Gain4_m;                       /* '<Root>/Gain4' */
  real_T Sum2;                          /* '<Root>/Sum2' */
  real_T Clock;                         /* '<Root>/Clock' */
} flc3_sampleA_BlockIO;

/* Block states (auto storage) for system: '<Root>' */
typedef struct flc3_sampleA_D_Work_tag {
  real_T nextTime;                      /* '<Root>/Pulse Generator' */
  struct {
    real_T TimeStampA;
    real_T LastUAtTimeA;
    real_T TimeStampB;
    real_T LastUAtTimeB;
  } Derivative_RWORK;                   /* '<Root>/Derivative' */
  struct {
    void *LoggedData;
  } ToWorkspace4_PWORK;                 /* '<Root>/To Workspace4' */
  struct {
    void *LoggedData;
  } Scope_PWORK;                        /* '<Root>/Scope' */
  int32_T justEnabled;                  /* '<Root>/Pulse Generator' */
  int32_T currentValue;                 /* '<Root>/Pulse Generator' */
  int32_T numCompleteCycles;            /* '<Root>/Pulse Generator' */
  int32_T ActionOne_SubsysRanBC;        /* '<S5>/Action: One' */
  int32_T Actionu1_SubsysRanBC;         /* '<S5>/Action: u1' */
  int_T Saturation_MODE;                /* '<S2>/Saturation' */
  int_T Saturation1_MODE;               /* '<S2>/Saturation1' */
  int8_T If_ActiveSubsystem;            /* '<S5>/If' */
  boolean_T ZeroFiringStrength_Mode;    /* '<S4>/Zero Firing Strength?' */
  char pad_ZeroFiringStrength_Mode[2];
} flc3_sampleA_D_Work;

/* Continuous states (auto storage) */
typedef struct _flc3_sampleA_ContinuousStates {
  real_T TransferFcn2_CSTATE[3];        /* '<Root>/Transfer Fcn2' */
  real_T Integrator_CSTATE;             /* '<S1>/Integrator' */
} flc3_sampleA_ContinuousStates;

/* State derivatives (auto storage) */
typedef struct _flc3_sampleA_StateDerivatives {
  real_T TransferFcn2_CSTATE[3];        /* '<Root>/Transfer Fcn2' */
  real_T Integrator_CSTATE;             /* '<S1>/Integrator' */
} flc3_sampleA_StateDerivatives;

/* State disabled  */
typedef struct _flc3_sampleA_StateDisabled {
  boolean_T TransferFcn2_CSTATE[3];     /* '<Root>/Transfer Fcn2' */
  boolean_T Integrator_CSTATE;          /* '<S1>/Integrator' */
} flc3_sampleA_StateDisabled;

/* Zero-crossing (trigger) state */
typedef struct _flc3_sampleA_NonsampledZCs {
  real_T Saturation_NSZC[2];            /* '<S2>/Saturation' */
  real_T Saturation1_NSZC[2];           /* '<S2>/Saturation1' */
  real_T If_NSZC;                       /* '<S5>/If' */
  real_T ZeroFiringStrength_NSZC;       /* '<S4>/Zero Firing Strength?' */
} flc3_sampleA_NonsampledZCs;

/* Parameters (auto storage) */
struct _flc3_sampleA_Parameters {
  real_T PulseGenerator_Amp;            /* Expression: 1
                                         * '<Root>/Pulse Generator'
                                         */
  real_T PulseGenerator_Period;         /* Expression: 40
                                         * '<Root>/Pulse Generator'
                                         */
  real_T PulseGenerator_Duty;           /* Expression: 50
                                         * '<Root>/Pulse Generator'
                                         */
  real_T Constant_Value;                /* Expression: -0.5
                                         * '<Root>/Constant'
                                         */
  real_T Gain_Gain;                     /* Expression: 2
                                         * '<Root>/Gain'
                                         */
  real_T TransferFcn2_A[5];             /* Computed Parameter: A
                                         * '<Root>/Transfer Fcn2'
                                         */
  real_T TransferFcn2_B;                /* Computed Parameter: B
                                         * '<Root>/Transfer Fcn2'
                                         */
  real_T TransferFcn2_C;                /* Computed Parameter: C
                                         * '<Root>/Transfer Fcn2'
                                         */
  real_T Weight_Value;                  /* Expression: fis.rule(j_rule).weight
                                         * '<S6>/Weight'
                                         */

⌨️ 快捷键说明

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