📄 exm09222_2_acc_common.h
字号:
/*
* exm09222_2_acc_common.h
*
* Real-Time Workshop code generation for Simulink model "exm09222_2_acc.mdl".
*
* Model Version : 1.2
* Real-Time Workshop file version : 4.0 $Date: 2000/09/19 19:45:27 $
* Real-Time Workshop file generated on : Sat Aug 11 16:23:59 2001
* TLC version : 4.0 (Aug 21 2000)
* C source code generated on : Sat Aug 11 16:23:59 2001
*
* Relevant TLC Options:
* InlineParameters = 0
* RollThreshold = 5
* CodeFormat = S-Function
*
* Simulink model settings:
* Solver : VariableStep
* StartTime : 0.0 s
* StopTime : 10.0 s
* Variable step solver used
*/
#ifndef _RTW_COMMON_HEADER_FILE_exm09222_2_acc_
#define _RTW_COMMON_HEADER_FILE_exm09222_2_acc_
#define S_FUNCTION_NAME simulink_only_sfcn
#define S_FUNCTION_LEVEL 2
#define RTW_GENERATED_S_FUNCTION
#ifndef TRUE
# define TRUE (1)
#endif
#ifndef FALSE
# define FALSE (0)
#endif
#define fcn_call_T real_T
#define pointer_T void*
#define rt_VALIDATE_MEMORY(S, ptr) if(!(ptr)) {\
ssSetErrorStatus((S), RT_MEMORY_ALLOCATION_ERROR);\
return;\
}
#define rt_FREE(ptr) if((ptr) != NULL) {\
free((ptr));\
(ptr) = NULL;\
}
#include "simstruc.h"
#include <stdlib.h>
#include <math.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 exm09222_2_BlockIO_tag {
real_T Sum[3]; /* <Root>/Sum */
} exm09222_2_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 exm09222_2_Parameters_tag {
real_T Constant_Value[3]; /* Expression: [1 2 3]
* External Mode Tunable: yes
* Referenced by block:
* <Root>/Constant
*/
real_T Constant1_Value; /* Expression: 4
* External Mode Tunable: yes
* Referenced by block:
* <Root>/Constant1
*/
} exm09222_2_Parameters;
#endif /* _RTW_COMMON_HEADER_FILE_exm09222_2_acc_ */
/* [EOF] exm09222_2_acc_COMMON.h */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -