📄 cdma20001x_acc_private.h
字号:
/*
* cdma20001x_acc_private.h
*
* Real-Time Workshop code generation for Simulink model "cdma20001x_acc.mdl".
*
* Model Version : 1.114
* Real-Time Workshop file version : 5.0 $Date: 2002/05/30 19:21:33 $
* Real-Time Workshop file generated on : Wed Jan 07 16:12:29 2009
* TLC version : 5.0 (Jun 18 2002)
* C source code generated on : Wed Jan 07 16:12:30 2009
*/
#ifndef _RTW_HEADER_cdma20001x_acc_private_h_
# define _RTW_HEADER_cdma20001x_acc_private_h_
#ifndef _RTW_COMMON_DEFINES_
# define _RTW_COMMON_DEFINES_
#ifndef TRUE
# define TRUE (1)
#endif
#ifndef FALSE
# define FALSE (0)
#endif
#define rt_VALIDATE_MEMORY(S, ptr) if(!(ptr)) {\
ssSetErrorStatus(S, RT_MEMORY_ALLOCATION_ERROR);\
return;\
}
#if !defined(_WIN32)
#define rt_FREE(ptr) if((ptr) != NULL) {\
free((ptr));\
(ptr) = NULL;\
}
#else
/* Visual and other windows compilers delcare free without const! */
#define rt_FREE(ptr) if((ptr) != NULL) {\
free((void *)(ptr));\
(ptr) = NULL;\
}
#endif
#endif /* _RTW_COMMON_DEFINES_ */
#include "dsp_rt.h" /* DSP Blockset general run time support functions */
#ifndef UCHAR_MAX
#include <limits.h>
#endif
#if ( UCHAR_MAX != (0xFFU) )
#error Fixed point code was generated for compiler with different sized uchars.
#endif
#if ( SCHAR_MAX != (0x7F) )
#error Fixed point code was generated for compiler with different sized chars.
#endif
#if ( USHRT_MAX != (0xFFFFU) )
#error Fixed point code was generated for compiler with different sized ushorts.
#endif
#if ( SHRT_MAX != (0x7FFF) )
#error Fixed point code was generated for compiler with different sized shorts.
#endif
#if ( UINT_MAX != (0xFFFFFFFFU) )
#error Fixed point code was generated for compiler with different sized uints.
#endif
#if ( INT_MAX != (0x7FFFFFFF) )
#error Fixed point code was generated for compiler with different sized ints.
#endif
#if ( ULONG_MAX != (0xFFFFFFFFU) )
#error Fixed point code was generated for compiler with different sized ulongs.
#endif
#if ( LONG_MAX != (0x7FFFFFFF) )
#error Fixed point code was generated for compiler with different sized longs.
#endif
#include "dsprebuff_rt.h" /* DSP Blockset run time support library */
#include "dsp_ic_rt.h" /* DSP Blockset run time support library */
#include "dsppad_rt.h" /* DSP Blockset run time support library */
#include "dspfft_rt.h" /* DSP Blockset run time support library */
#include "dspfilter_rt.h" /* DSP Blockset run time support library */
#include "dsprandsrc_rt.h" /* DSP Blockset run time support library */
/* Used by FromWorkspace Block: <S14>/From Workspace */
#ifndef rtInterpolate
# define rtInterpolate(v1,v2,f1,f2) (((v1)==(v2))?((double)(v1)): (((f1)*((double)(v1)))+((f2)*((double)(v2)))))
#endif
#ifndef rtRound
# define rtRound(v) ( ((v) >= 0) ? floor((v) + 0.5) : ceil((v) - 0.5) )
#endif
#include "dspupfir_rt.h" /* DSP Blockset run time support library */
void cdma20001x_Spectrum_Scope_Init(SimStruct *S);
void cdma20001x_Spectrum_Scope_Update(SimStruct *S, int_T tid);
void cdma20001x_Spectrum_Scope(SimStruct *S, int_T tid);
#endif /* _RTW_HEADER_cdma20001x_acc_private_h_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -