untitled_acc.h
来自「详细介绍matlab(信号与系统)的基本用法」· C头文件 代码 · 共 94 行
H
94 行
/*
* untitled_acc.h
*
* Real-Time Workshop code generation for Simulink model "untitled_acc.mdl".
*
* Model Version : 1.0
* Real-Time Workshop version : 6.6 (R2007a) 01-Feb-2007
* C source code generated on : Sun Aug 31 03:55:50 2008
*/
#ifndef _RTW_HEADER_untitled_acc_h_
#define _RTW_HEADER_untitled_acc_h_
#ifndef _untitled_acc_COMMON_INCLUDES_
# define _untitled_acc_COMMON_INCLUDES_
#include <math.h>
#include <stdlib.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"
#endif /* _untitled_acc_COMMON_INCLUDES_ */
#include "untitled_acc_types.h"
/* Block signals (auto storage) */
typedef struct {
real_T B_0_0_0; /* '<Root>/Integrator1' */
real_T B_0_2_0; /* '<Root>/Integrator' */
real_T B_0_5_0; /* '<Root>/Step' */
real_T B_0_6_0; /* '<Root>/Sum' */
} BlockIO;
/* Block states (auto storage) for system '<Root>' */
typedef struct {
struct {
void *LoggedData;
} Scope_PWORK; /* '<Root>/Scope' */
int_T Step_MODE; /* '<Root>/Step' */
} D_Work;
/* Continuous states (auto storage) */
typedef struct {
real_T Integrator1_CSTATE; /* '<Root>/Integrator1' */
real_T Integrator_CSTATE; /* '<Root>/Integrator' */
} ContinuousStates;
/* State derivatives (auto storage) */
typedef struct {
real_T Integrator1_CSTATE; /* '<Root>/Integrator1' */
real_T Integrator_CSTATE; /* '<Root>/Integrator' */
} StateDerivatives;
/* State disabled */
typedef struct {
boolean_T Integrator1_CSTATE; /* '<Root>/Integrator1' */
boolean_T Integrator_CSTATE; /* '<Root>/Integrator' */
} StateDisabled;
/* Zero-crossing (trigger) state */
typedef struct {
real_T Step_NSZC; /* '<Root>/Step' */
} NonsampledZCs;
/* Parameters (auto storage) */
struct Parameters {
real_T P_0; /* Expression: 0
* '<Root>/Integrator1'
*/
real_T P_1; /* Expression: 0
* '<Root>/Integrator'
*/
real_T P_2; /* Expression: -5
* '<Root>/Gain'
*/
real_T P_3; /* Expression: -6
* '<Root>/Gain1'
*/
real_T P_4; /* Expression: 2
* '<Root>/Step'
*/
real_T P_5; /* Expression: 0
* '<Root>/Step'
*/
real_T P_6; /* Expression: 1
* '<Root>/Step'
*/
};
extern Parameters rtDefaultParameters; /* parameters */
#endif /* _RTW_HEADER_untitled_acc_h_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?