model16to02_sfun.h
来自「《MATLAB7.0_Simulink6.0建模仿真开发与高级工程应用》书中程序」· C头文件 代码 · 共 44 行
H
44 行
#ifndef __model16to02_sfun_h__
#define __model16to02_sfun_h__
/* Include files */
#define S_FUNCTION_NAME sf_sfun
#include "sfc_sf.h"
#include "sfc_mex.h"
#include "template_support_fcn_list.h"
#include "sfcdebug.h"
#define rtInf (mxGetInf())
#define rtMinusInf (-(mxGetInf()))
#define rtNaN (mxGetNaN())
#define rtIsNaN(X) ((int)mxIsNaN(X))
#define rtIsInf(X) ((int)mxIsInf(X))
/* Custom Code from Simulation Target dialog*/
#include <math.h>
/* Type Definitions */
typedef struct {
real_T m_Fstatic;
} SFmodel16to02LocalData;
/* Named Constants */
#define CALL_EVENT (MAX_uint8_T)
/* Variable Declarations */
extern uint8_T _sfEvent_;
extern uint32_T _model16to02MachineNumber_;
extern real_T _sfTime_;
extern SFmodel16to02LocalData smodel16to02LocalData;
/* Variable Definitions */
/* Function Declarations */
void model16to02_initializer(void);
void model16to02_terminator(void);
/* Function Definitions */
#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?