1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
/*
* File: M2_POS_Control.h
*
* Code generated for Simulink model 'M2_POS_Control'.
*
* Model version : 5.76
* Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
* C/C++ source code generated on : Fri Sep 2 12:29:45 2022
*
* Target selection: ert.tlc
* Embedded hardware selection: Intel->x86-64 (Linux 64)
* Code generation objectives: Unspecified
* Validation result: Not run
*/
/* M2_POS_Control_COMMON_INCLUDES_ */
/* Macros for accessing real-time model data structure */
/* Block states (default storage) for system '<Root>' */
typedef struct DW_M2_POS_Control_T;
/* Constant parameters (default storage) */
typedef struct ConstP_M2_POS_Control_T;
/* External inputs (root inport signals with default storage) */
typedef struct ExtU_M2_POS_Control_T;
/* External outputs (root outports fed by signals with default storage) */
typedef struct ExtY_M2_POS_Control_T;
/* Real-time Model Data Structure */
;
/* Block states (default storage) */
extern DW_M2_POS_Control_T M2_POS_Control_DW;
/* External inputs (root inport signals with default storage) */
extern ExtU_M2_POS_Control_T M2_POS_Control_U;
/* External outputs (root outports fed by signals with default storage) */
extern ExtY_M2_POS_Control_T M2_POS_Control_Y;
/* Constant parameters (default storage) */
extern const ConstP_M2_POS_Control_T M2_POS_Control_ConstP;
/* Model entry point functions */
extern void ;
extern void ;
extern void ;
/* Real-time Model object */
extern RT_MODEL_M2_POS_Control_T *const M2_POS_Control_M;
/*-
* The generated code includes comments that allow you to trace directly
* back to the appropriate location in the model. The basic format
* is <system>/block_name, where system is the system number (uniquely
* assigned by Simulink) and block_name is the name of the block.
*
* Note that this particular code originates from a subsystem build,
* and has its own system numbers different from the parent model.
* Refer to the system hierarchy for this subsystem below, and use the
* MATLAB hilite_system command to trace the generated code back
* to the parent model. For example,
*
* hilite_system('ims_Build5pt3b_PTTasm/M2_POS_Control') - opens subsystem ims_Build5pt3b_PTTasm/M2_POS_Control
* hilite_system('ims_Build5pt3b_PTTasm/M2_POS_Control/Kp') - opens and selects block Kp
*
* Here is the system hierarchy for this model
*
* '<Root>' : 'ims_Build5pt3b_PTTasm'
* '<S1>' : 'ims_Build5pt3b_PTTasm/M2_POS_Control'
*/
/* RTW_HEADER_M2_POS_Control_h_ */
/*
* File trailer for generated code.
*
* [EOF]
*/