📄 pid0413_acc.h
字号:
/*
* PID0413_acc.h
*
* Real-Time Workshop code generation for Simulink model "PID0413_acc.mdl".
*
* Model Version : 1.20
* Real-Time Workshop version : 6.0 (R14) 05-May-2004
* C source code generated on : Fri May 27 13:19:45 2005
*/
#ifndef _RTW_HEADER_PID0413_acc_h_
#define _RTW_HEADER_PID0413_acc_h_
#include <stdlib.h>
#include <math.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 "PID0413_acc_types.h"
/* Block signals (auto storage) */
typedef struct _PID0413_BlockIO {
real_T Step; /* '<Root>/Step' */
real_T TransferFcn; /* '<Root>/Transfer Fcn' */
real_T Sum; /* '<Root>/Sum' */
real_T Constant; /* '<Root>/Constant' */
real_T Gain; /* '<Root>/Gain' */
real_T D; /* '<S1>/D' */
real_T Saturation; /* '<Root>/Saturation' */
} PID0413_BlockIO;
/* Block states (auto storage) for system: '<Root>' */
typedef struct PID0413_D_Work_tag {
struct {
real_T TimeStampA;
real_T LastUAtTimeA;
real_T TimeStampB;
real_T LastUAtTimeB;
} Derivative_RWORK; /* '<S1>/Derivative' */
struct {
void *LoggedData;
} Scope_PWORK; /* '<Root>/Scope' */
char pad_Scope_PWORK[4];
} PID0413_D_Work;
/* Continuous states (auto storage) */
typedef struct _PID0413_ContinuousStates {
real_T TransferFcn_CSTATE[2]; /* '<Root>/Transfer Fcn' */
real_T Integral_CSTATE; /* '<S1>/Integral' */
} PID0413_ContinuousStates;
/* State derivatives (auto storage) */
typedef struct _PID0413_StateDerivatives {
real_T TransferFcn_CSTATE[2]; /* '<Root>/Transfer Fcn' */
real_T Integral_CSTATE; /* '<S1>/Integral' */
} PID0413_StateDerivatives;
/* State disabled */
typedef struct _PID0413_StateDisabled {
boolean_T TransferFcn_CSTATE[2]; /* '<Root>/Transfer Fcn' */
boolean_T Integral_CSTATE; /* '<S1>/Integral' */
} PID0413_StateDisabled;
/* Parameters (auto storage) */
struct _PID0413_Parameters {
real_T Step_Time; /* Expression: 0
* '<Root>/Step'
*/
real_T Step_Y0; /* Expression: 0
* '<Root>/Step'
*/
real_T Step_YFinal; /* Expression: 1
* '<Root>/Step'
*/
real_T TransferFcn_A[3]; /* Computed Parameter: A
* '<Root>/Transfer Fcn'
*/
real_T TransferFcn_B; /* Computed Parameter: B
* '<Root>/Transfer Fcn'
*/
real_T TransferFcn_C; /* Computed Parameter: C
* '<Root>/Transfer Fcn'
*/
real_T Constant_Value; /* Expression: 1
* '<Root>/Constant'
*/
real_T Gain_Gain; /* Expression: 10
* '<Root>/Gain'
*/
real_T D_Gain; /* Expression: D
* '<S1>/D'
*/
real_T Integral_B; /* Computed Parameter: B
* '<S1>/Integral'
*/
real_T Integral_C; /* Computed Parameter: C
* '<S1>/Integral'
*/
real_T Proportional_Gain; /* Expression: P
* '<S1>/Proportional'
*/
real_T Saturation_UpperSat; /* Expression: 100
* '<Root>/Saturation'
*/
real_T Saturation_LowerSat; /* Expression: -100
* '<Root>/Saturation'
*/
};
extern PID0413_Parameters PID0413_DefaultParameters; /* parameters */
#endif /* _RTW_HEADER_PID0413_acc_h_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -