example5_sfun.h

来自「包含<<MATLAB仿真技术与应用>>的配套例题和习题的」· C头文件 代码 · 共 45 行

H
45
字号
/*
 *
 * Stateflow code generation for machine:
 *    example5
 * 
 * Target Name                          : sfun
 * Model Version                        : 1.188
 * Stateflow Version                    : 4.1.0.12.10.1.000000
 * Date of code generation              : 14-Jan-2003 20:39:17
 *
 */
	
#ifndef __example5_sfun_h__
#define __example5_sfun_h__
#include <string.h>
#include <stdlib.h>
#include <math.h>
#ifndef min
#define min(a,b)    (((a) < (b)) ? (a) : (b))
#endif
#ifndef max
#define max(a,b)    (((a) > (b)) ? (a) : (b))
#endif
#define S_FUNCTION_NAME sf_sfun
#include "sfc_sf.h"
#include "sfc_mex.h"
#include "sfcdebug.h"
#include "tmwtypes.h"



/* Enumeration of all the events used in this machine */
#define CALL_EVENT (-1)
 
extern int8_T _sfEvent_;
 
#ifndef _sfTime_
/* Stateflow time variable */
extern real_T _sfTime_;
#endif

#endif


⌨️ 快捷键说明

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