1 /*
2 * Real-Time Workshop code generation for Simulink system "<Root>/system1"
3 * For more details, see corresponding source file myfile.c
4 *
5 */
6
7 #ifndef _RTW_HEADER_myfile_h_
8 # define _RTW_HEADER_myfile_h_
9
10 #ifndef _atomicdemo_COMMON_INCLUDES_
11 # define _atomicdemo_COMMON_INCLUDES_
12 #include <math.h>
13 #include <float.h>
14 #include <string.h>
15
16 #include "tmwtypes.h"
17 #include "simstruc_types.h"
18 #include "rtlibsrc.h"
19
20 #endif /* _atomicdemo_COMMON_INCLUDES_ */
21
22 #include "atomicdemo_types.h"
23
24 /* Intrinsic types */
25 #ifndef POINTER_T
26 # define POINTER_T
27 typedef void * pointer_T;
28 #endif
29
30 /* Block signals for system: '<Root>/system1' */
31 typedef struct _rtB_myfun {
32 real_T Delay; /* '<S1>/Delay' */
33 } rtB_myfun;
34
35 /* Block states (auto storage) for system: '<Root>/system1' */
36 typedef struct rtDW_myfun_tag {
37 real_T Delay_DSTATE; /* <S1>/Delay */
38 } rtDW_myfun;
39
40 extern void myfun(real_T input, rtB_myfun *localB, rtDW_myfun *localDW);
41
42 #endif /* _RTW_HEADER_myfile_h_ */
|