update gencode

This commit is contained in:
Matt on ZHAN66
2022-07-29 10:02:01 +08:00
parent 5a303db171
commit fa31adaa43
84 changed files with 355 additions and 345 deletions
+30 -27
View File
@@ -5,7 +5,7 @@
*
* Model version : 1.676
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Tue Jun 28 05:44:15 2022
* C/C++ source code generated on : Fri Jul 29 09:58:44 2022
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -508,10 +508,10 @@ typedef struct {
real_T Integrator; /* '<S105>/Integrator' */
real_T table1D_mass; /* '<S96>/table1D_mass' */
real_T mass_e; /* '<S1>/Sum' */
real_T if_k[3]; /* '<S107>/if' */
real_T if_l[3]; /* '<S107>/if' */
real_T product; /* '<S115>/product' */
real_T product_b; /* '<S116>/product' */
real_T product_j; /* '<S117>/product' */
real_T product_o; /* '<S116>/product' */
real_T product_b; /* '<S117>/product' */
real_T add[9]; /* '<S114>/add' */
real_T MatrixConcatenation[18]; /* '<S133>/Matrix Concatenation' */
real_T Selector2_j[9]; /* '<S131>/Selector2' */
@@ -613,10 +613,10 @@ typedef struct {
real_T Accels[3]; /* '<S121>/Divide' */
real_T v_g; /* '<S17>/Sqrt' */
real_T psi_t; /* '<S17>/Trigonometric Function' */
real_T product_o; /* '<S51>/product' */
real_T product_cl; /* '<S314>/product' */
real_T product1_d; /* '<S314>/product1' */
real_T add_m; /* '<S314>/add' */
real_T product_ol; /* '<S51>/product' */
real_T product_os; /* '<S314>/product' */
real_T product1_jp; /* '<S314>/product1' */
real_T add_aw; /* '<S314>/add' */
real_T Product_j1; /* '<S124>/Product' */
real_T Product1_hk; /* '<S124>/Product1' */
real_T An; /* '<S124>/An' */
@@ -737,8 +737,8 @@ typedef struct {
real_T Sum_in[3]; /* '<S346>/Sum' */
real_T TrigonometricFunction4; /* '<S306>/Trigonometric Function4' */
real_T subtract1; /* '<S107>/subtract1' */
real_T subtract_o; /* '<S107>/subtract' */
real_T add_ht[3]; /* '<S107>/add' */
real_T subtract_f; /* '<S107>/subtract' */
real_T add_m[3]; /* '<S107>/add' */
real_T Sum_b[3]; /* '<S103>/Sum' */
real_T Elementproduct[6]; /* '<S104>/Element product' */
real_T Add3[3]; /* '<S104>/Add3' */
@@ -1242,10 +1242,10 @@ typedef struct {
real_T m_bpLambda_k[3]; /* '<S58>/table3D_Cn_base_delta' */
real_T m_bpLambda_lo[3]; /* '<S58>/table3D_Cn_da' */
real_T m_bpLambda_be[3]; /* '<S58>/table3D_Cn_dr' */
real_T m_bpLambda_ad[3]; /* '<S326>/table3D_thrust' */
real_T m_bpLambda_adl[3]; /* '<S319>/table3D_cft' */
real_T m_bpLambda_p[3]; /* '<S326>/table3D_thrust' */
real_T m_bpLambda_hy[3]; /* '<S319>/table3D_cft' */
real_T Product2_DWORK4[9]; /* '<S131>/Product2' */
real_T m_bpLambda_p[3]; /* '<S316>/table3D_Nh' */
real_T m_bpLambda_ou[3]; /* '<S316>/table3D_Nh' */
real_T last_format; /* '<S7>/rec_ctrl' */
real_T last_lat1_in; /* '<S1100>/nav_corner' */
real_T last_lon1_in; /* '<S1100>/nav_corner' */
@@ -1535,8 +1535,8 @@ typedef struct {
uint32_T UnitDelay_DSTATE_gx; /* '<S587>/Unit Delay' */
uint32_T UnitDelay_DSTATE_h; /* '<S1100>/Unit Delay' */
uint32_T UnitDelay_DSTATE_ok; /* '<S466>/Unit Delay' */
real32_T m_bpLambda_a0[3]; /* '<S1078>/table3D_cft' */
real32_T m_bpLambda_f0[3]; /* '<S1075>/table3D_Nh' */
real32_T m_bpLambda_hz[3]; /* '<S1078>/table3D_cft' */
real32_T m_bpLambda_c5[3]; /* '<S1075>/table3D_Nh' */
real32_T last_az; /* '<S1100>/nav_corner' */
real32_T last_hdg; /* '<S1100>/nav_corner' */
real32_T DiscreteTransferFcn_tmp_h; /* '<S1027>/Discrete Transfer Fcn' */
@@ -1587,20 +1587,20 @@ typedef struct {
uint32_T m_bpIndex_n[3]; /* '<S58>/table3D_Cn_base_delta' */
uint32_T m_bpIndex_mr[3]; /* '<S58>/table3D_Cn_da' */
uint32_T m_bpIndex_mj[3]; /* '<S58>/table3D_Cn_dr' */
uint32_T m_bpIndex_e[3]; /* '<S326>/table3D_thrust' */
uint32_T m_bpIndex_l0[3]; /* '<S319>/table3D_cft' */
uint32_T m_bpIndex_lk[3]; /* '<S316>/table3D_Nh' */
uint32_T m_bpIndex_fv[3]; /* '<S326>/table3D_thrust' */
uint32_T m_bpIndex_oy[3]; /* '<S319>/table3D_cft' */
uint32_T m_bpIndex_od[3]; /* '<S316>/table3D_Nh' */
uint32_T m_bpIndex_m1; /* '<S576>/1-D Lookup Table1' */
uint32_T m_bpIndex_b; /* '<S1321>/1-D Lookup Table' */
uint32_T m_bpIndex_kw; /* '<S1322>/1-D Lookup Table' */
uint32_T m_bpIndex_df; /* '<S576>/IAS_lookup' */
uint32_T m_bpIndex_di; /* '<S576>/1-D Lookup Table' */
uint32_T m_bpIndex_me; /* '<S1320>/P22' */
uint32_T m_bpIndex_eh; /* '<S1320>/P12' */
uint32_T m_bpIndex_e; /* '<S1320>/P12' */
uint32_T m_bpIndex_pc; /* '<S1320>/P21' */
uint32_T m_bpIndex_gj; /* '<S1320>/P11' */
uint32_T m_bpIndex_h[3]; /* '<S1078>/table3D_cft' */
uint32_T m_bpIndex_ao[3]; /* '<S1075>/table3D_Nh' */
uint32_T m_bpIndex_oa[3]; /* '<S1078>/table3D_cft' */
uint32_T m_bpIndex_du[3]; /* '<S1075>/table3D_Nh' */
uint32_T last_seq; /* '<S1352>/Chart' */
uint32_T last_seq_c; /* '<S1349>/Chart' */
uint32_T wait_time; /* '<S1109>/traffic_ctrl' */
@@ -2688,17 +2688,17 @@ struct P_SIL_T_ {
* '<S793>/Constant2'
* '<S799>/Constant2'
*/
boolean_T inbound_check; /* Variable: inbound_check
* Referenced by:
* '<S800>/Constant1'
* '<S810>/Constant6'
*/
boolean_T linked_default; /* Variable: linked_default
* Referenced by: '<S587>/Constant'
*/
boolean_T use_ext_ins; /* Variable: use_ext_ins
* Referenced by: '<S2>/Constant2'
*/
boolean_T use_inbound; /* Variable: use_inbound
* Referenced by:
* '<S800>/Constant1'
* '<S810>/Constant6'
*/
uint8_T act_sw_mode; /* Variable: act_sw_mode
* Referenced by: '<S845>/Constant3'
*/
@@ -2933,6 +2933,9 @@ extern real_T InertiaMoments_bias_kg_m2[9];/* Variable: InertiaMoments_bias_kg_m
extern real_T ThrustUncertGain; /* Variable: ThrustUncertGain
* Referenced by: '<S328>/Param_ThrustUncertGain'
*/
extern real_T ThrustUncertGainAB; /* Variable: ThrustUncertGainAB
* Referenced by: '<S328>/Param_ThrustUncertGainAB'
*/
extern real_T V0[3]; /* Variable: V0
* Referenced by: '<S130>/ub,vb,wb'
*/
@@ -3239,10 +3242,10 @@ extern RT_MODEL_SIL_T *const SIL_M;
* Block '<S1084>/add' : Unused code path elimination
* Block '<S1084>/product' : Unused code path elimination
* Block '<S1084>/product1' : Unused code path elimination
* Block '<S1084>/product2' : Unused code path elimination
* Block '<S1085>/table3D_thrust' : Unused code path elimination
* Block '<S1087>/Const_m' : Unused code path elimination
* Block '<S1087>/Param_ThrustUncertGain' : Unused code path elimination
* Block '<S1087>/Param_ThrustUncertGainAB' : Unused code path elimination
* Block '<S1087>/Param_engine_att_rad' : Unused code path elimination
* Block '<S1087>/Param_engine_pos_m' : Unused code path elimination
* Block '<S1226>/Constant' : Unused code path elimination