📄 weather_private.h
字号:
/*
* weather_private.h
*
* Real-Time Workshop code generation for Simulink model "weather.mdl".
*
* Model Version : 1.4
* Real-Time Workshop file version : 5.0 $Date: 2002/05/30 19:21:33 $
* Real-Time Workshop file generated on : Mon Jan 29 12:34:09 2007
* TLC version : 5.0 (Jun 18 2002)
* C source code generated on : Mon Jan 29 12:34:09 2007
*/
#ifndef _RTW_HEADER_weather_private_h_
# define _RTW_HEADER_weather_private_h_
#ifndef _RTW_COMMON_DEFINES_
# define _RTW_COMMON_DEFINES_
#ifndef TRUE
# define TRUE (1)
#endif
#ifndef FALSE
# define FALSE (0)
#endif
#endif /* _RTW_COMMON_DEFINES_ */
#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
/* Used by FromWorkspace Block: <Root>/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
extern void weather_If_Action_Subsy_a(real_T *fy0, rtP_weather_If_Action_Subsy_a
*localP);
extern void weather_If_Action_Subsy_b(real_T x, real_T *fy0,
rtB_weather_If_Action_Subsy_b *localB, rtP_weather_If_Action_Subsy_b *localP);
extern void weather_If_Action_Subsy_c(real_T x, real_T *fy0,
rtB_weather_If_Action_Subsy_c *localB, rtP_weather_If_Action_Subsy_c *localP);
#if defined(MULTITASKING)
# error Model (weather) was built in \
SingleTasking solver mode, however the MULTITASKING define is \
present. If you have multitasking (e.g. -DMT or -DMULTITASKING) \
defined on the RTW page of Simulation parameter dialog, please \
remove it and on the Solver page, select solver mode \
MultiTasking. If the Simulation parameter dialog is configured \
correctly, please verify that your template makefile is \
configured correctly.
#endif
#endif /* _RTW_HEADER_weather_private_h_ */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -