File: rt_defines.h1 /* 2 * rt_defines.h 3 * 4 * Code generation for model "Controller". 5 * 6 * Model version : 1.1303 7 * Simulink Coder version : 8.3 (R2012b) 20-Jul-2012 8 * C++ source code generated on : Sun Jun 01 14:58:10 2014 9 * 10 * Target selection: grt.tlc 11 * Note: GRT includes extra infrastructure and instrumentation for prototyping 12 * Embedded hardware selection: Generic->32-bit x86 compatible 13 * Code generation objectives: Unspecified 14 * Validation result: Not run 15 */ 16 17 #ifndef RTW_HEADER_rt_defines_h_ 18 #define RTW_HEADER_rt_defines_h_ 19 20 /*===========* 21 * Constants * 22 *===========*/ 23 #define RT_PI 3.14159265358979323846 24 #define RT_PIF 3.1415927F 25 #define RT_LN_10 2.30258509299404568402 26 #define RT_LN_10F 2.3025851F 27 #define RT_LOG10E 0.43429448190325182765 28 #define RT_LOG10EF 0.43429449F 29 #define RT_E 2.7182818284590452354 30 #define RT_EF 2.7182817F 31 32 /* 33 * UNUSED_PARAMETER(x) 34 * Used to specify that a function parameter (argument) is required but not 35 * accessed by the function body. 36 */ 37 #ifndef UNUSED_PARAMETER 38 # if defined(__LCC__) 39 # define UNUSED_PARAMETER(x) /* do nothing */ 40 # else 41 42 /* 43 * This is the semi-ANSI standard way of indicating that an 44 * unused function parameter is required. 45 */ 46 # define UNUSED_PARAMETER(x) (void) (x) 47 # endif 48 #endif 49 #endif /* RTW_HEADER_rt_defines_h_ */ 50 |