update gencode

This commit is contained in:
matt
2020-10-26 17:04:48 +08:00
parent 000d694761
commit bd73991059
11 changed files with 6056 additions and 5458 deletions
+26 -23
View File
@@ -3,9 +3,9 @@
*
* Code generated for Simulink model 'SIL'.
*
* Model version : 1.470
* Model version : 1.472
* Simulink Coder version : 9.0 (R2018b) 24-May-2018
* C/C++ source code generated on : Thu Oct 22 10:25:15 2020
* C/C++ source code generated on : Mon Oct 26 16:36:21 2020
*
* Target selection: ert_shrlib.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
@@ -216,21 +216,23 @@ static const rtwCAPI_ModelParameters rtModelParameters[] = {
{ 81, TARGET_STRING("min_tht"), 1, 2, 0 },
{ 82, TARGET_STRING("w_as"), 1, 2, 0 },
{ 82, TARGET_STRING("recovery_ias"), 1, 2, 0 },
{ 83, TARGET_STRING("w_v2tht"), 1, 2, 0 },
{ 83, TARGET_STRING("w_as"), 1, 2, 0 },
{ 84, TARGET_STRING("w_x"), 1, 2, 0 },
{ 84, TARGET_STRING("w_v2tht"), 1, 2, 0 },
{ 85, TARGET_STRING("w_y"), 1, 2, 0 },
{ 85, TARGET_STRING("w_x"), 1, 2, 0 },
{ 86, TARGET_STRING("washout_r_den"), 1, 4, 0 },
{ 86, TARGET_STRING("w_y"), 1, 2, 0 },
{ 87, TARGET_STRING("washout_r_num"), 1, 4, 0 },
{ 87, TARGET_STRING("washout_r_den"), 1, 4, 0 },
{ 88, TARGET_STRING("system_id"), 2, 2, 0 },
{ 88, TARGET_STRING("washout_r_num"), 1, 4, 0 },
{ 89, TARGET_STRING("transrate"), 3, 2, 0 },
{ 89, TARGET_STRING("system_id"), 2, 2, 0 },
{ 90, TARGET_STRING("transrate"), 3, 2, 0 },
{ 0, (NULL), 0, 0, 0 }
};
@@ -321,14 +323,15 @@ static void* rtDataAddrMap[] = {
&SIL_P.min_hdot, /* 79: Model Parameter */
&SIL_P.min_rpm[0], /* 80: Model Parameter */
&SIL_P.min_tht, /* 81: Model Parameter */
&SIL_P.w_as, /* 82: Model Parameter */
&SIL_P.w_v2tht, /* 83: Model Parameter */
&SIL_P.w_x, /* 84: Model Parameter */
&SIL_P.w_y, /* 85: Model Parameter */
&SIL_P.washout_r_den[0], /* 86: Model Parameter */
&SIL_P.washout_r_num[0], /* 87: Model Parameter */
&SIL_P.system_id, /* 88: Model Parameter */
&transrate, /* 89: Model Parameter */
&SIL_P.recovery_ias, /* 82: Model Parameter */
&SIL_P.w_as, /* 83: Model Parameter */
&SIL_P.w_v2tht, /* 84: Model Parameter */
&SIL_P.w_x, /* 85: Model Parameter */
&SIL_P.w_y, /* 86: Model Parameter */
&SIL_P.washout_r_den[0], /* 87: Model Parameter */
&SIL_P.washout_r_num[0], /* 88: Model Parameter */
&SIL_P.system_id, /* 89: Model Parameter */
&transrate, /* 90: Model Parameter */
};
/* Declare Data Run-Time Dimension Buffer Addresses statically */
@@ -419,7 +422,7 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
(NULL), 0 },
{ rtBlockParameters, 0,
rtModelParameters, 90 },
rtModelParameters, 91 },
{ (NULL), 0 },
@@ -427,10 +430,10 @@ static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
rtElementMap, rtSampleTimeMap, rtDimensionArray },
"float",
{ 1933200694U,
935469783U,
3860272542U,
3263114025U },
{ 2979056592U,
3736830732U,
845784224U,
1771781300U },
(NULL), 0,
0
};