#include "rtw_capi.h"
#ifdef HOST_CAPI_BUILD
#include "MotorController_FOC_capi_host.h"
#define sizeof(s) ((size_t)(0xFFFF))
#undef rt_offsetof
#define rt_offsetof(s,el) ((uint16_T)(0xFFFF))
#define TARGET_CONST
#define TARGET_STRING(s) (s)    

#ifndef SS_INT64
#define SS_INT64  41
#endif
#ifndef SS_UINT64
#define SS_UINT64  42
#endif
#else
#include "builtin_typeid_types.h"
#include "MotorController_FOC.h"
#include "MotorController_FOC_capi.h"
#include "MotorController_FOC_private.h"
#ifdef LIGHT_WEIGHT_CAPI
#define TARGET_CONST                  

#define TARGET_STRING(s)               (NULL)                    

#else
#define TARGET_CONST                   const
#define TARGET_STRING(s)               (s)
#endif
#endif
static const rtwCAPI_Signals rtBlockSignals [ ] = { { 0 , 40 , TARGET_STRING
( "MotorController_FOC/PMSM_Controller" ) , TARGET_STRING ( "" ) , 0 , 0 , 0
, 0 , 0 } , { 1 , 40 , TARGET_STRING ( "MotorController_FOC/PMSM_Controller"
) , TARGET_STRING ( "" ) , 0 , 0 , 0 , 0 , 0 } , { 2 , 33 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller" ) , TARGET_STRING ( "o_samp_p1" ) , 0 ,
0 , 1 , 0 , 0 } , { 3 , 33 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller" ) , TARGET_STRING ( "o_samp_p2" ) , 0 ,
0 , 1 , 0 , 0 } , { 4 , 33 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller" ) , TARGET_STRING ( "" ) , 1 , 1 , 1 ,
0 , 0 } , { 5 , 0 , TARGET_STRING (
"MotorController_FOC/Data Type Conversion2" ) , TARGET_STRING ( "" ) , 0 , 1
, 1 , 0 , 0 } , { 6 , 0 , TARGET_STRING (
"MotorController_FOC/Data Type Conversion3" ) , TARGET_STRING ( "" ) , 0 , 1
, 1 , 0 , 0 } , { 7 , 0 , TARGET_STRING (
"MotorController_FOC/Data Type Conversion4" ) , TARGET_STRING ( "" ) , 0 , 2
, 1 , 1 , 0 } , { 8 , 0 , TARGET_STRING (
"MotorController_FOC/Data Type Conversion8" ) , TARGET_STRING ( "" ) , 0 , 1
, 1 , 0 , 0 } , { 9 , 0 , TARGET_STRING ( "MotorController_FOC/Gain2" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 1 } , { 10 , 0 , TARGET_STRING (
"MotorController_FOC/Manual Switch" ) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0
, 0 } , { 11 , 0 , TARGET_STRING (
"MotorController_FOC/Edge_Detect/Edge_Detect" ) , TARGET_STRING ( "" ) , 0 ,
4 , 1 , 0 , 0 } , { 12 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/z_maxCntRst2" ) , TARGET_STRING ( "" ) , 0 , 5
, 1 , 0 , 2 } , { 13 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Multiply" ) , TARGET_STRING ( "" ) , 0 , 2 , 2
, 0 , 0 } , { 14 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller" ) , TARGET_STRING ( "" ) , 0
, 0 , 0 , 0 , 0 } , { 15 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller" ) , TARGET_STRING ( "" ) , 0
, 0 , 0 , 0 , 0 } , { 16 , 33 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller" ) , TARGET_STRING (
"o_samp_p1" ) , 0 , 0 , 1 , 0 , 0 } , { 17 , 33 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller" ) , TARGET_STRING (
"o_samp_p2" ) , 0 , 0 , 1 , 0 , 0 } , { 18 , 33 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller" ) , TARGET_STRING ( "" ) , 1
, 1 , 1 , 0 , 0 } , { 19 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller" ) , TARGET_STRING ( "" ) , 2
, 2 , 1 , 2 , 0 } , { 20 , 41 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/Gain" ) , TARGET_STRING ( "" ) , 0 , 0 ,
1 , 0 , 0 } , { 21 , 41 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/hall_motor_speed_choice" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 0 } , { 22 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Data Type Conversion" ) , TARGET_STRING ( ""
) , 0 , 3 , 3 , 0 , 1 } , { 23 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Counter/MinMax" ) , TARGET_STRING ( "" ) , 0 ,
5 , 1 , 0 , 0 } , { 24 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Counter/Sum1" ) , TARGET_STRING ( "" ) , 0 , 5
, 1 , 0 , 0 } , { 25 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 26 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 27 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 28 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 29 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/Merge" ) , TARGET_STRING ( "" )
, 0 , 3 , 2 , 0 , 0 } , { 30 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Data Type Conversion" ) ,
TARGET_STRING ( "" ) , 0 , 0 , 1 , 0 , 1 } , { 31 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory" ) , TARGET_STRING ( "" )
, 0 , 0 , 1 , 0 , 0 } , { 32 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory1" ) , TARGET_STRING ( "" )
, 0 , 0 , 1 , 0 , 0 } , { 33 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory2" ) , TARGET_STRING ( "" )
, 0 , 0 , 1 , 0 , 0 } , { 34 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory3" ) , TARGET_STRING ( "" )
, 0 , 0 , 1 , 0 , 0 } , { 35 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory4" ) , TARGET_STRING ( "" )
, 0 , 0 , 1 , 0 , 0 } , { 36 , 41 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/Control_Target_Select/AND" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 37 , 41 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/Control_Target_Select/Switch1" ) ,
TARGET_STRING ( "" ) , 0 , 1 , 1 , 0 , 0 } , { 38 , 14 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection"
) , TARGET_STRING ( "" ) , 0 , 6 , 1 , 0 , 0 } , { 39 , 14 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection"
) , TARGET_STRING ( "" ) , 1 , 6 , 1 , 0 , 0 } , { 40 , 23 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 41 , 27 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller" ) ,
TARGET_STRING ( "" ) , 1 , 2 , 1 , 2 , 3 } , { 42 , 39 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl" ) , TARGET_STRING
( "" ) , 0 , 2 , 1 , 3 , 4 } , { 43 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Gain6" ) , TARGET_STRING ( ""
) , 0 , 3 , 1 , 0 , 0 } , { 44 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Switch" ) , TARGET_STRING (
"" ) , 0 , 2 , 1 , 2 , 0 } , { 45 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Switch1" ) , TARGET_STRING (
"" ) , 0 , 2 , 1 , 2 , 0 } , { 46 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Switch2" ) , TARGET_STRING (
"" ) , 0 , 1 , 1 , 0 , 0 } , { 47 , 41 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/current_sample/Multiply" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 2 , 3 , 0 } , { 48 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Logical Operator" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 49 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Logical Operator1" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 50 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Logical Operator2" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 51 , 1 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger/MATLAB Function"
) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 5 } , { 52 , 1 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger/MATLAB Function"
) , TARGET_STRING ( "" ) , 1 , 3 , 1 , 0 , 5 } , { 53 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger/Data Store Read"
) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 54 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger/Data Store Read1"
) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 55 , 3 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger/MATLAB Function"
) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 5 } , { 56 , 3 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger/MATLAB Function"
) , TARGET_STRING ( "" ) , 1 , 3 , 1 , 0 , 5 } , { 57 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger/Data Store Read"
) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 58 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger/Data Store Read1"
) , TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 0 } , { 59 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/DeadZone/Delay" ) , TARGET_STRING
( "" ) , 0 , 4 , 3 , 0 , 0 } , { 60 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/PWM Generator/NOT" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 61 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/PWM Generator/NOT1" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 62 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/PWM Generator/NOT2" ) ,
TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 63 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/modulated wave/Output" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 1 , 0 , 1 } , { 64 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/sample_trigger/Relational Operator"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 65 , 0 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/sample_trigger/Relational Operator1"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 66 , 8 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/Field_Weakening_Enabled/Field_Weakening"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 67 , 12 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 0 } , { 68 , 14 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/Switch2"
) , TARGET_STRING ( "" ) , 0 , 6 , 1 , 0 , 0 } , { 69 , 14 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/UnitDelay2"
) , TARGET_STRING ( "" ) , 0 , 6 , 1 , 0 , 0 } , { 70 , 14 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/UnitDelay3"
) , TARGET_STRING ( "" ) , 0 , 6 , 1 , 0 , 0 } , { 71 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Edge_Detect/Edge_Detect"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 72 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Sum3"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 4 , 0 } , { 73 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Switch3"
) , TARGET_STRING ( "" ) , 0 , 6 , 1 , 0 , 0 } , { 74 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Hall_Angle_Raw/Selector"
) , TARGET_STRING ( "" ) , 0 , 6 , 1 , 0 , 0 } , { 75 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Hall_Angle_Raw/Add"
) , TARGET_STRING ( "" ) , 0 , 1 , 1 , 0 , 0 } , { 76 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation"
) , TARGET_STRING ( "" ) , 0 , 5 , 1 , 0 , 0 } , { 77 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation"
) , TARGET_STRING ( "" ) , 1 , 4 , 1 , 0 , 0 } , { 78 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation"
) , TARGET_STRING ( "" ) , 2 , 2 , 1 , 1 , 0 } , { 79 , 20 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 80 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Abs5"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 0 } , { 81 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Switch2"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 0 } , { 82 , 21 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Low_Pass_Filter"
) , TARGET_STRING ( "" ) , 0 , 2 , 2 , 3 , 0 } , { 83 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Add1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 84 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Data Type Conversion"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 2 } , { 85 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 86 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain3"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 2 } , { 87 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain4"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 2 } , { 88 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain5"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 89 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Vq_max_M1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 90 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Divide1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 91 , 23 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 92 , 27 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 93 , 34 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Low_Pass_Filter" )
, TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 94 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Divide" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 5 , 2 } , { 95 , 36 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 4 } , { 96 , 39 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/Manual Switch" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 4 } , { 97 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/INPUT_1_1_1" )
, TARGET_STRING ( "" ) , 0 , 3 , 4 , 0 , 0 } , { 98 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/INPUT_2_1_1" )
, TARGET_STRING ( "" ) , 0 , 3 , 4 , 0 , 0 } , { 99 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/INPUT_3_1_1" )
, TARGET_STRING ( "" ) , 0 , 3 , 4 , 0 , 0 } , { 100 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/INPUT_4_1_1" )
, TARGET_STRING ( "" ) , 0 , 3 , 4 , 0 , 0 } , { 101 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/INPUT_5_1_1" )
, TARGET_STRING ( "" ) , 0 , 3 , 4 , 0 , 0 } , { 102 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/INPUT_6_1_1" )
, TARGET_STRING ( "" ) , 0 , 3 , 4 , 0 , 0 } , { 103 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/OUTPUT_1_0" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 3 , 0 , 0 } , { 104 , 0 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Solver Configuration/EVAL_KEY/STATE_1" ) ,
TARGET_STRING ( "" ) , 0 , 3 , 5 , 0 , 0 } , { 105 , 0 , TARGET_STRING (
 "MotorController_FOC/HardWare/PWM_Generitor/PWM Generator/Subsystem/Relational Operator"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 106 , 0 , TARGET_STRING (
 "MotorController_FOC/HardWare/PWM_Generitor/PWM Generator/Subsystem1/Relational Operator"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 107 , 0 , TARGET_STRING (
 "MotorController_FOC/HardWare/PWM_Generitor/PWM Generator/Subsystem2/Relational Operator"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 1 } , { 108 , 8 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/Field_Weakening_Enabled/Field_Weakening/Divide3"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 109 , 8 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/Field_Weakening_Enabled/Field_Weakening/Sum2"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 2 } , { 110 , 8 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/Field_Weakening_Enabled/Field_Weakening/Sum3"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 2 } , { 111 , 12 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Subsystem"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 0 } , { 112 , 12 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Subsystem1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 0 } , { 113 , 12 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Merge"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 0 } , { 114 , 41 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/degree_rad/Math Function"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 0 , 0 } , { 115 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/z_counterRawPrev"
) , TARGET_STRING ( "" ) , 0 , 5 , 1 , 0 , 0 } , { 116 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/g_Ha"
) , TARGET_STRING ( "" ) , 0 , 5 , 1 , 0 , 2 } , { 117 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Divide11"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 0 } , { 118 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/dz_cntTrnsDet"
) , TARGET_STRING ( "" ) , 0 , 1 , 1 , 0 , 0 } , { 119 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Relational Operator4"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 120 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Switch1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 0 } , { 121 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay3"
) , TARGET_STRING ( "" ) , 0 , 5 , 1 , 0 , 0 } , { 122 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay5"
) , TARGET_STRING ( "" ) , 0 , 5 , 1 , 0 , 0 } , { 123 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay6"
) , TARGET_STRING ( "" ) , 0 , 1 , 1 , 0 , 0 } , { 124 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay7"
) , TARGET_STRING ( "" ) , 0 , 1 , 1 , 0 , 0 } , { 125 , 20 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/Logical Operator3"
) , TARGET_STRING ( "" ) , 0 , 0 , 1 , 0 , 0 } , { 126 , 20 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/UnitDelay3"
) , TARGET_STRING ( "" ) , 0 , 0 , 1 , 0 , 0 } , { 127 , 20 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/UnitDelay5"
) , TARGET_STRING ( "" ) , 0 , 0 , 1 , 0 , 0 } , { 128 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Clarke/Gain"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 129 , 21 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Low_Pass_Filter/Data Type Conversion"
) , TARGET_STRING ( "" ) , 0 , 2 , 2 , 3 , 0 } , { 130 , 21 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Low_Pass_Filter/Sum3"
) , TARGET_STRING ( "" ) , 0 , 2 , 2 , 3 , 0 } , { 131 , 23 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 132 , 25 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/Add" )
, TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 3 } , { 133 , 27 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 134 , 29 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/Add1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 3 } , { 135 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Data Type Conversion2"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 0 , 2 } , { 136 , 40 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Divide" ) ,
TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 2 } , { 137 , 33 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/SVM/Sample_Control/Shunt_Three_Sample_Point"
) , TARGET_STRING ( "" ) , 0 , 0 , 1 , 0 , 0 } , { 138 , 33 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/SVM/Sample_Control/Shunt_Three_Sample_Point"
) , TARGET_STRING ( "" ) , 1 , 0 , 1 , 0 , 0 } , { 139 , 33 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/SVM/Sample_Control/Shunt_Three_Sample_Point"
) , TARGET_STRING ( "" ) , 2 , 1 , 1 , 0 , 0 } , { 140 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/SVM/Sample_Control/Multiport Switch"
) , TARGET_STRING ( "" ) , 0 , 0 , 0 , 0 , 0 } , { 141 , 34 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Low_Pass_Filter/Data Type Conversion"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 142 , 34 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Low_Pass_Filter/Sum3"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 0 } , { 143 , 36 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 4 } , { 144 , 38 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/Add2" )
, TARGET_STRING ( "" ) , 0 , 2 , 1 , 1 , 4 } , { 145 , 12 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Subsystem1/In1"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 0 } , { 146 , 19 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Compare To Constant/Compare"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 147 , 20 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/Compare To Constant/Compare"
) , TARGET_STRING ( "" ) , 0 , 4 , 1 , 0 , 0 } , { 148 , 23 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/Divide2"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 6 , 3 } , { 149 , 27 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Divide2"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 6 , 3 } , { 150 , 27 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Sum3"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 6 , 3 } , { 151 , 40 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Saturation Dynamic1/Switch2"
) , TARGET_STRING ( "" ) , 0 , 0 , 0 , 0 , 0 } , { 152 , 36 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Divide2"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 7 , 4 } , { 153 , 36 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Divide4"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 6 , 4 } , { 154 , 36 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Sum6"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 6 , 4 } , { 155 , 23 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/Integrator/Sum1"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 8 , 3 } , { 156 , 23 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/Saturation Dynamic1/Switch2"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 157 , 27 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Integrator/Sum1"
) , TARGET_STRING ( "" ) , 0 , 8 , 1 , 9 , 3 } , { 158 , 27 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Saturation Dynamic1/Switch2"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 2 , 3 } , { 159 , 36 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Integrator/Data Type Conversion1"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 10 , 4 } , { 160 , 36 , TARGET_STRING
(
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Integrator/Data Type Conversion2"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 7 , 2 } , { 161 , 36 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Integrator/Sum1"
) , TARGET_STRING ( "" ) , 0 , 7 , 1 , 7 , 4 } , { 162 , 36 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/Saturation Dynamic1/Switch2"
) , TARGET_STRING ( "" ) , 0 , 2 , 1 , 3 , 4 } , { 0 , 0 , ( NULL ) , ( NULL
) , 0 , 0 , 0 , 0 , 0 } } ; static const rtwCAPI_BlockParameters
rtBlockParameters [ ] = { { 163 , TARGET_STRING (
"MotorController_FOC/Constant" ) , TARGET_STRING ( "Value" ) , 3 , 1 , 0 } ,
{ 164 , TARGET_STRING ( "MotorController_FOC/Dead_Disable" ) , TARGET_STRING
( "Value" ) , 3 , 1 , 0 } , { 165 , TARGET_STRING (
"MotorController_FOC/Dead_Enable" ) , TARGET_STRING ( "Value" ) , 3 , 1 , 0 }
, { 166 , TARGET_STRING ( "MotorController_FOC/ctrl_mode" ) , TARGET_STRING (
"Value" ) , 1 , 1 , 0 } , { 167 , TARGET_STRING (
"MotorController_FOC/i_dc_limit" ) , TARGET_STRING ( "Value" ) , 2 , 1 , 11 }
, { 168 , TARGET_STRING ( "MotorController_FOC/motor_enable" ) ,
TARGET_STRING ( "Value" ) , 4 , 1 , 0 } , { 169 , TARGET_STRING (
"MotorController_FOC/speed_limit" ) , TARGET_STRING ( "Value" ) , 2 , 1 , 1 }
, { 170 , TARGET_STRING ( "MotorController_FOC/Gain1" ) , TARGET_STRING (
"Gain" ) , 3 , 1 , 0 } , { 171 , TARGET_STRING ( "MotorController_FOC/Gain2"
) , TARGET_STRING ( "Gain" ) , 3 , 1 , 0 } , { 172 , TARGET_STRING (
"MotorController_FOC/Manual Switch" ) , TARGET_STRING ( "CurrentSetting" ) ,
1 , 1 , 0 } , { 173 , TARGET_STRING ( "MotorController_FOC/Manual Switch1" )
, TARGET_STRING ( "CurrentSetting" ) , 1 , 1 , 0 } , { 174 , TARGET_STRING (
"MotorController_FOC/Edge_Detect/Delay" ) , TARGET_STRING (
"InitialCondition" ) , 4 , 1 , 0 } , { 175 , TARGET_STRING (
"MotorController_FOC/Edge_Detect/Delay1" ) , TARGET_STRING (
"InitialCondition" ) , 4 , 1 , 0 } , { 176 , TARGET_STRING (
"MotorController_FOC/Edge_Detect/Delay2" ) , TARGET_STRING (
"InitialCondition" ) , 4 , 1 , 0 } , { 177 , TARGET_STRING (
"MotorController_FOC/HardWare/Constant6" ) , TARGET_STRING ( "Value" ) , 5 ,
1 , 0 } , { 178 , TARGET_STRING ( "MotorController_FOC/HardWare/Memory" ) ,
TARGET_STRING ( "InitialCondition" ) , 3 , 1 , 0 } , { 179 , TARGET_STRING (
"MotorController_FOC/HardWare/Memory1" ) , TARGET_STRING ( "InitialCondition"
) , 3 , 1 , 0 } , { 180 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/Constant1" ) , TARGET_STRING ( "Value" )
, 3 , 1 , 0 } , { 181 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/Gain" ) , TARGET_STRING ( "Gain" ) , 3 ,
1 , 0 } , { 182 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/hall_motor_angel_choice" ) ,
TARGET_STRING ( "CurrentSetting" ) , 1 , 1 , 0 } , { 183 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/hall_motor_speed_choice" ) ,
TARGET_STRING ( "CurrentSetting" ) , 1 , 1 , 0 } , { 184 , TARGET_STRING (
"MotorController_FOC/Signal Builder1/FromWs" ) , TARGET_STRING ( "Time0" ) ,
3 , 6 , 0 } , { 185 , TARGET_STRING (
"MotorController_FOC/Signal Builder1/FromWs" ) , TARGET_STRING ( "Data0" ) ,
3 , 6 , 0 } , { 186 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/Merge" ) , TARGET_STRING (
"InitialOutput" ) , 3 , 1 , 0 } , { 187 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/modulated wave" ) , TARGET_STRING
( "rep_seq_y" ) , 3 , 7 , 0 } , { 188 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory" ) , TARGET_STRING (
"InitialCondition" ) , 0 , 1 , 0 } , { 189 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory1" ) , TARGET_STRING (
"InitialCondition" ) , 0 , 1 , 0 } , { 190 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory2" ) , TARGET_STRING (
"InitialCondition" ) , 0 , 1 , 0 } , { 191 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory3" ) , TARGET_STRING (
"InitialCondition" ) , 0 , 1 , 0 } , { 192 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Memory4" ) , TARGET_STRING (
"InitialCondition" ) , 0 , 1 , 0 } , { 193 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/Switch" ) , TARGET_STRING (
"Threshold" ) , 3 , 1 , 0 } , { 194 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/Control_Target_Select/Compare To Constant"
) , TARGET_STRING ( "const" ) , 2 , 1 , 1 } , { 195 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Constant1" ) , TARGET_STRING
( "Value" ) , 1 , 1 , 0 } , { 196 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Constant2" ) , TARGET_STRING
( "Value" ) , 1 , 1 , 0 } , { 197 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Constant3" ) , TARGET_STRING
( "Value" ) , 2 , 1 , 2 } , { 198 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Constant4" ) , TARGET_STRING
( "Value" ) , 2 , 1 , 3 } , { 199 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/TS" ) , TARGET_STRING (
"Value" ) , 0 , 1 , 0 } , { 200 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Gain6" ) , TARGET_STRING (
"Gain" ) , 1 , 1 , 0 } , { 201 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/UnitDelay1" ) , TARGET_STRING
( "InitialCondition" ) , 2 , 1 , 2 } , { 202 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/UnitDelay2" ) , TARGET_STRING
( "InitialCondition" ) , 2 , 1 , 2 } , { 203 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/current_sample/Multiply" ) ,
TARGET_STRING ( "Gain" ) , 2 , 1 , 12 } , { 204 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Constant" ) , TARGET_STRING (
"Value" ) , 3 , 1 , 0 } , { 205 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Constant1" ) , TARGET_STRING (
"Value" ) , 3 , 1 , 0 } , { 206 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Constant2" ) , TARGET_STRING (
"Value" ) , 3 , 1 , 0 } , { 207 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Constant3" ) , TARGET_STRING (
"Value" ) , 3 , 1 , 0 } , { 208 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Constant4" ) , TARGET_STRING (
"Value" ) , 3 , 1 , 0 } , { 209 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Constant5" ) , TARGET_STRING (
"Value" ) , 3 , 1 , 0 } , { 210 , TARGET_STRING (
"MotorController_FOC/HardWare/Counter/rst_Delay/Constant23" ) , TARGET_STRING
( "Value" ) , 5 , 1 , 0 } , { 211 , TARGET_STRING (
"MotorController_FOC/HardWare/Counter/rst_Delay/UnitDelay" ) , TARGET_STRING
( "InitialCondition" ) , 5 , 1 , 0 } , { 212 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger/Data Store Memory"
) , TARGET_STRING ( "InitialValue" ) , 3 , 1 , 0 } , { 213 , TARGET_STRING (
 "MotorController_FOC/HardWare/Current_Sample/adc_fall_trigger/Data Store Memory2"
) , TARGET_STRING ( "InitialValue" ) , 3 , 1 , 0 } , { 214 , TARGET_STRING (
"MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger/Data Store Memory"
) , TARGET_STRING ( "InitialValue" ) , 3 , 1 , 0 } , { 215 , TARGET_STRING (
 "MotorController_FOC/HardWare/Current_Sample/adc_rise_trigger/Data Store Memory2"
) , TARGET_STRING ( "InitialValue" ) , 3 , 1 , 0 } , { 216 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/DeadZone/Delay" ) , TARGET_STRING
( "InitialCondition" ) , 4 , 1 , 0 } , { 217 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/modulated wave/Constant" ) ,
TARGET_STRING ( "Value" ) , 3 , 1 , 0 } , { 218 , TARGET_STRING (
"MotorController_FOC/HardWare/PWM_Generitor/modulated wave/Look-Up Table1" )
, TARGET_STRING ( "BreakpointsForDimension1" ) , 3 , 7 , 0 } , { 219 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/z_dir"
) , TARGET_STRING ( "InitialOutput" ) , 6 , 1 , 0 } , { 220 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/z_dirPrev"
) , TARGET_STRING ( "InitialOutput" ) , 6 , 1 , 0 } , { 221 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/Constant20"
) , TARGET_STRING ( "Value" ) , 6 , 1 , 0 } , { 222 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/Constant23"
) , TARGET_STRING ( "Value" ) , 6 , 1 , 0 } , { 223 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/Constant24"
) , TARGET_STRING ( "Value" ) , 6 , 1 , 0 } , { 224 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/Constant8"
) , TARGET_STRING ( "Value" ) , 6 , 1 , 0 } , { 225 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/UnitDelay2"
) , TARGET_STRING ( "InitialCondition" ) , 6 , 1 , 0 } , { 226 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Direction_Detection/UnitDelay3"
) , TARGET_STRING ( "InitialCondition" ) , 6 , 1 , 0 } , { 227 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Edge_Detect/Delay"
) , TARGET_STRING ( "InitialCondition" ) , 1 , 1 , 0 } , { 228 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Edge_Detect/Delay1"
) , TARGET_STRING ( "InitialCondition" ) , 1 , 1 , 0 } , { 229 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Edge_Detect/Delay2"
) , TARGET_STRING ( "InitialCondition" ) , 1 , 1 , 0 } , { 230 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Constant"
) , TARGET_STRING ( "Value" ) , 4 , 1 , 0 } , { 231 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Constant1"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 4 } , { 232 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Constant16"
) , TARGET_STRING ( "Value" ) , 6 , 1 , 0 } , { 233 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Constant2"
) , TARGET_STRING ( "Value" ) , 6 , 1 , 0 } , { 234 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/Manual Switch"
) , TARGET_STRING ( "CurrentSetting" ) , 1 , 1 , 0 } , { 235 , TARGET_STRING
(
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Hall_Angle_Raw/Gain"
) , TARGET_STRING ( "Gain" ) , 1 , 1 , 0 } , { 236 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Hall_Angle_Raw/Gain1"
) , TARGET_STRING ( "Gain" ) , 1 , 1 , 0 } , { 237 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Constant4"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 1 } , { 238 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/UnitDelay3"
) , TARGET_STRING ( "InitialCondition" ) , 5 , 1 , 0 } , { 239 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/UnitDelay4"
) , TARGET_STRING ( "InitialCondition" ) , 2 , 1 , 1 } , { 240 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Constant1"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 3 } , { 241 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Constant"
) , TARGET_STRING ( "Value" ) , 1 , 1 , 0 } , { 242 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Constant1"
) , TARGET_STRING ( "Value" ) , 1 , 1 , 0 } , { 243 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain1"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 3 } , { 244 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain3"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 3 } , { 245 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain4"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 3 } , { 246 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Gain5"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 3 } , { 247 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/Vq_max_M1"
) , TARGET_STRING ( "maxIndex" ) , 5 , 1 , 0 } , { 248 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Motor_Limitations_Enabled/iq_maxSca_M1"
) , TARGET_STRING ( "maxIndex" ) , 5 , 1 , 0 } , { 249 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/Constant3" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 3 } , { 250 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Constant" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 13 } , { 251 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Constant1" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 13 } , { 252 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Gain" ) ,
TARGET_STRING ( "Gain" ) , 2 , 1 , 5 } , { 253 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/Constant" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 3 } , { 254 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/Manual Switch" ) ,
TARGET_STRING ( "CurrentSetting" ) , 1 , 1 , 0 } , { 255 , TARGET_STRING (
"MotorController_FOC/plant_pmsm/Hall sensor/Subsystem/rad->deg" ) ,
TARGET_STRING ( "Gain" ) , 3 , 1 , 0 } , { 256 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/Field_Weakening_Enabled/Field_Weakening/r_fieldWeak "
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 3 } , { 257 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Constant"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 2 } , { 258 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Merge"
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 2 } , { 259 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/torque_mode/iq_target"
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 1 } , { 260 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Electrical_Angle_Estimation/degree_rad/Constant1"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 0 } , { 261 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/dz_trnsDet"
) , TARGET_STRING ( "InitialOutput" ) , 4 , 1 , 0 } , { 262 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/n_motRaw"
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 1 } , { 263 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Compare To Constant"
) , TARGET_STRING ( "const" ) , 1 , 1 , 0 } , { 264 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/Constant4"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 1 } , { 265 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/smooth"
) , TARGET_STRING ( "Value" ) , 4 , 1 , 0 } , { 266 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/g_Ha"
) , TARGET_STRING ( "Gain" ) , 5 , 1 , 0 } , { 267 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/dz_cntTrnsDet"
) , TARGET_STRING ( "OnOutputValue" ) , 1 , 1 , 0 } , { 268 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/dz_cntTrnsDet"
) , TARGET_STRING ( "OffOutputValue" ) , 1 , 1 , 0 } , { 269 , TARGET_STRING
(
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay1"
) , TARGET_STRING ( "InitialCondition" ) , 4 , 1 , 0 } , { 270 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay2"
) , TARGET_STRING ( "InitialCondition" ) , 5 , 1 , 0 } , { 271 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay3"
) , TARGET_STRING ( "InitialCondition" ) , 5 , 1 , 0 } , { 272 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay4"
) , TARGET_STRING ( "InitialCondition" ) , 2 , 1 , 1 } , { 273 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay5"
) , TARGET_STRING ( "InitialCondition" ) , 5 , 1 , 0 } , { 274 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay6"
) , TARGET_STRING ( "InitialCondition" ) , 1 , 1 , 0 } , { 275 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay7"
) , TARGET_STRING ( "InitialCondition" ) , 1 , 1 , 0 } , { 276 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Raw_Motor_Speed_Estimation/UnitDelay8"
) , TARGET_STRING ( "InitialCondition" ) , 1 , 1 , 0 } , { 277 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/b_enaAdvCtrl"
) , TARGET_STRING ( "InitialOutput" ) , 4 , 1 , 0 } , { 278 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/Compare To Constant"
) , TARGET_STRING ( "const" ) , 0 , 1 , 0 } , { 279 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/n_commDeacv"
) , TARGET_STRING ( "OnOutputValue" ) , 4 , 1 , 0 } , { 280 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/n_commDeacv"
) , TARGET_STRING ( "OffOutputValue" ) , 4 , 1 , 0 } , { 281 , TARGET_STRING
(
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/UnitDelay2"
) , TARGET_STRING ( "InitialCondition" ) , 0 , 1 , 0 } , { 282 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/UnitDelay3"
) , TARGET_STRING ( "InitialCondition" ) , 0 , 1 , 0 } , { 283 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Electrical_Speed_Estimation/Speed_Estimation/Subsystem/UnitDelay5"
) , TARGET_STRING ( "InitialCondition" ) , 0 , 1 , 0 } , { 284 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Clarke/Gain"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 14 } , { 285 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Clarke/Gain1"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 15 } , { 286 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Clarke/Gain2"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 5 } , { 287 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Low_Pass_Filter/UnitDelay1"
) , TARGET_STRING ( "InitialCondition" ) , 2 , 1 , 3 } , { 288 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation/Constant"
) , TARGET_STRING ( "Value" ) , 1 , 1 , 0 } , { 289 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation/r_cos_M1"
) , TARGET_STRING ( "maxIndex" ) , 5 , 1 , 0 } , { 290 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/Clarke_Park_Transform_Forward/Sine_Cosine_Approximation/r_sin_M1"
) , TARGET_STRING ( "maxIndex" ) , 5 , 1 , 0 } , { 291 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/id_out"
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 2 } , { 292 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/Constant3"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 293 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/Constant4"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 294 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/Constant6"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 295 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/Constant9"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 11 } , { 296 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/vq_out"
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 2 } , { 297 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/Constant1"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 298 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/Constant7"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 299 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/Constant8"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 300 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Constant" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 4 } , { 301 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Constant1" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 4 } , { 302 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Constant2" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 4 } , { 303 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Constant3" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 4 } , { 304 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Constant4" ) ,
TARGET_STRING ( "Value" ) , 2 , 1 , 4 } , { 305 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/SVM/SVPWM/Constant5" ) ,
TARGET_STRING ( "Value" ) , 0 , 1 , 0 } , { 306 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/ivbus_calc/Low_Pass_Filter/UnitDelay1"
) , TARGET_STRING ( "InitialCondition" ) , 2 , 1 , 3 } , { 307 ,
TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/pi_out"
) , TARGET_STRING ( "InitialOutput" ) , 2 , 1 , 3 } , { 308 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/Constant"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 5 } , { 309 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/Constant1"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 13 } , { 310 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/Constant11"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 13 } , { 311 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/Constant2"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 16 } , { 312 , TARGET_STRING (
"MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/Constant5"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 1 } , { 313 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Subsystem/Constant4"
) , TARGET_STRING ( "Value" ) , 2 , 1 , 2 } , { 314 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Subsystem/Gain"
) , TARGET_STRING ( "Gain" ) , 2 , 1 , 17 } , { 315 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/Control_Target_Select/target_scale/open_mode/Subsystem/Switch"
) , TARGET_STRING ( "Threshold" ) , 2 , 1 , 1 } , { 316 , TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/UnitDelay"
) , TARGET_STRING ( "InitialCondition" ) , 7 , 1 , 6 } , { 317 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/UnitDelay"
) , TARGET_STRING ( "InitialCondition" ) , 7 , 1 , 6 } , { 318 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/speed_ctrl/speed_ctrl/PI_speed/UnitDelay"
) , TARGET_STRING ( "InitialCondition" ) , 7 , 1 , 7 } , { 319 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/id_ctrl/PI_id/Integrator/UnitDelay"
) , TARGET_STRING ( "InitialCondition" ) , 7 , 1 , 8 } , { 320 ,
TARGET_STRING (
 "MotorController_FOC/PMSM_Controller/controller/PID_Controller/iq_ctrl/PI_iq/Integrator/UnitDelay"
) , TARGET_STRING ( "InitialCondition" ) , 8 , 1 , 9 } , { 0 , ( NULL ) , (
NULL ) , 0 , 0 , 0 } } ; static const rtwCAPI_Signals rtRootInputs [ ] = { {
0 , 0 , ( NULL ) , ( NULL ) , 0 , 0 , 0 , 0 , 0 } } ; static const
rtwCAPI_Signals rtRootOutputs [ ] = { { 0 , 0 , ( NULL ) , ( NULL ) , 0 , 0 ,
0 , 0 , 0 } } ; static const rtwCAPI_ModelParameters rtModelParameters [ ] =
{ { 321 , TARGET_STRING ( "n_adc_max" ) , 3 , 1 , 0 } , { 322 , TARGET_STRING
( "n_gain" ) , 3 , 1 , 0 } , { 323 , TARGET_STRING ( "n_polePairs" ) , 3 , 1
, 0 } , { 324 , TARGET_STRING ( "n_ref_vol" ) , 3 , 1 , 0 } , { 325 ,
TARGET_STRING ( "n_resistance" ) , 3 , 1 , 0 } , { 326 , TARGET_STRING (
"dz_cntTrnsDetHi" ) , 7 , 1 , 0 } , { 327 , TARGET_STRING ( "dz_cntTrnsDetLo"
) , 7 , 1 , 0 } , { 328 , TARGET_STRING ( "cf_speedCoef" ) , 5 , 1 , 0 } , {
329 , TARGET_STRING ( "i_hall_count_max" ) , 5 , 1 , 0 } , { 330 ,
TARGET_STRING ( "z_maxCntRst" ) , 5 , 1 , 0 } , { 331 , TARGET_STRING (
"i_hall_offset" ) , 2 , 1 , 0 } , { 332 , TARGET_STRING ( "r_cos_M1" ) , 2 ,
8 , 13 } , { 333 , TARGET_STRING ( "r_sin_M1" ) , 2 , 8 , 13 } , { 334 ,
TARGET_STRING ( "n_commAcvLo" ) , 2 , 1 , 1 } , { 335 , TARGET_STRING (
"n_commDeacvHi" ) , 2 , 1 , 1 } , { 336 , TARGET_STRING ( "Vq_max_XA" ) , 2 ,
9 , 2 } , { 337 , TARGET_STRING ( "i_Udc" ) , 2 , 1 , 2 } , { 338 ,
TARGET_STRING ( "min_start_voltage_openloop" ) , 2 , 1 , 2 } , { 339 ,
TARGET_STRING ( "n_fieldWeakAuthHi" ) , 2 , 1 , 2 } , { 340 , TARGET_STRING (
"n_fieldWeakAuthLo" ) , 2 , 1 , 2 } , { 341 , TARGET_STRING ( "r_fieldWeakHi"
) , 2 , 1 , 2 } , { 342 , TARGET_STRING ( "r_fieldWeakLo" ) , 2 , 1 , 2 } , {
343 , TARGET_STRING ( "Vd_max" ) , 2 , 1 , 3 } , { 344 , TARGET_STRING (
"Vq_max_M1" ) , 2 , 9 , 3 } , { 345 , TARGET_STRING ( "a_elecDeltaAngle" ) ,
2 , 1 , 3 } , { 346 , TARGET_STRING ( "id_fieldWeakMax" ) , 2 , 1 , 11 } , {
347 , TARGET_STRING ( "a_rpm_step" ) , 2 , 1 , 18 } , { 348 , TARGET_STRING (
"f_lpf_coeff" ) , 0 , 1 , 19 } , { 349 , TARGET_STRING ( "iq_maxSca_M1" ) , 0
, 10 , 19 } , { 350 , TARGET_STRING ( "iq_maxSca_XA" ) , 0 , 10 , 19 } , {
351 , TARGET_STRING ( "a_elecAngle_XA" ) , 0 , 8 , 0 } , { 352 ,
TARGET_STRING ( "i_adc" ) , 0 , 1 , 0 } , { 353 , TARGET_STRING ( "i_dead" )
, 0 , 1 , 0 } , { 354 , TARGET_STRING ( "i_half_pwm_count" ) , 0 , 1 , 0 } ,
{ 355 , TARGET_STRING ( "i_sample_before" ) , 0 , 1 , 0 } , { 356 ,
TARGET_STRING ( "b_angleMeasEna" ) , 4 , 1 , 0 } , { 357 , TARGET_STRING (
"b_fieldWeakEna" ) , 4 , 1 , 0 } , { 358 , TARGET_STRING ( "vec_hallToPos" )
, 6 , 11 , 0 } , { 359 , TARGET_STRING ( "OPEN_MODE" ) , 1 , 1 , 0 } , { 0 ,
( NULL ) , 0 , 0 , 0 } } ;
#ifndef HOST_CAPI_BUILD
static void * rtDataAddrMap [ ] = { & rtB . mgmfyffcon [ 0 ] , & rtB .
mgmfyffcon [ 0 ] , & rtB . j1khybhwff . gwfhlmmysn , & rtB . j1khybhwff .
n1ku1hlgib , & rtB . j1khybhwff . l1s3iblud2 , & rtB . gyfvvpphg3 , & rtB .
agxforlowa , & rtB . neyktewlh5 , & rtB . lq04dno4oh , & rtB . nfuvtrnjsl , &
rtB . megmewxqrd , & rtB . aomo240dmp , & rtB . bpatsrsf2k , & rtB .
jypvuvbmom [ 0 ] , & rtB . mgmfyffcon [ 0 ] , & rtB . mgmfyffcon [ 0 ] , &
rtB . j1khybhwff . gwfhlmmysn , & rtB . j1khybhwff . n1ku1hlgib , & rtB .
j1khybhwff . l1s3iblud2 , & rtB . pw2awuefim , & rtB . c5xoayxq5h , & rtB .
fm3w14hvds , & rtB . cidzayhxni [ 0 ] , & rtB . g2bdghkoar , & rtB .
hl1k3jvtug , & rtB . ozks1puxeq [ 0 ] , ( & rtB . ozks1puxeq [ 0 ] + 1 ) , &
rtB . ozks1puxeq [ 0 ] , ( & rtB . ozks1puxeq [ 0 ] + 1 ) , & rtB .
ozks1puxeq [ 0 ] , & rtB . hr0ijokt1h , & rtB . cmokv1niht , & rtB .
dksojetaez , & rtB . c0za51q0f5 , & rtB . kqb2lyogzy , & rtB . o25j5dk545 , &
rtB . dhnxtiktvh , & rtB . ckpag1ejut , & rtB . gpqvhujprf , & rtB .
g1jlceech1 , & rtB . n30etil1yvr . n4j2qb3der , & rtB . pubdfj1edpf .
fsq15efoh5 , & rtB . nceu43w1ix , & rtB . g2aizzghv3 , & rtB . kwfu3n45l5 , &
rtB . pw2awuefim , & rtB . ormfoxg3ds , & rtB . fglfzygoz5 [ 0 ] , & rtB .
n2ct5ob2wl , & rtB . gdygozc13m , & rtB . j12geqgcex , & rtB . pzgfoorf2m .
jh44athpdt , & rtB . pzgfoorf2m . cusnr13h0o , & rtB . ozks1puxeq [ 0 ] , ( &
rtB . ozks1puxeq [ 0 ] + 1 ) , & rtB . n0gksqxwn5 . jh44athpdt , & rtB .
n0gksqxwn5 . cusnr13h0o , & rtB . ozks1puxeq [ 0 ] , ( & rtB . ozks1puxeq [ 0
] + 1 ) , & rtB . hltmrpvj1p [ 0 ] , & rtB . mweesx4sey , & rtB . pxjlxuyjb5
, & rtB . hqr0qifjoz , & rtB . fuyeltap5a , & rtB . mabcey02v2 , & rtB .
a505li3yys , & rtB . j2g21zcr5b , & rtB . iz1n4yrey2 , & rtB . gpqvhujprf , &
rtB . dklsg5pvbb , & rtB . g1jlceech1 , & rtB . kn5b5mjgpt , & rtB .
irm414lix3 , & rtB . g3gfwjxxix , & rtB . htuwjcxbk0 , & rtB . jkihbayrji , &
rtB . m3g31sqwvs , & rtB . asc45ue45v , & rtB . hfzboalwag , & rtB .
g0gujplx2r , & rtB . hav1bb2xr5 , & rtB . i03w3s4gvi , & rtB . cpoajd5uh02 .
htqonzvdzb [ 0 ] , & rtB . ehbpsnl1hj , & rtB . j0kbkxugjw , & rtB .
k203swwpuy , & rtB . keyifcwses , & rtB . hgv1cfpui3 , & rtB . jot1xj131p , &
rtB . kth5gdtz2g , & rtB . dcimgobmd0 , & rtB . n30etil1yvr . n4j2qb3der , &
rtB . pubdfj1edpf . fsq15efoh5 , & rtB . meo3xsl5lqf . np4j3haun3 , & rtB .
pywty24jlk , & rtB . fdz4phu3ryu . mrsm1mogfj , & rtB . nceu43w1ix , & rtB .
nckbbwqwdk [ 0 ] , & rtB . ijzodrsa3j [ 0 ] , & rtB . n55agx45bu [ 0 ] , &
rtB . lfc51tobdb [ 0 ] , & rtB . fiygwmgxli [ 0 ] , & rtB . hrn0vza32l [ 0 ]
, & rtB . iairrjrsnt [ 0 ] , & rtB . cth1cljg1v [ 0 ] , & rtB . lk4zjjz41c ,
& rtB . flinlchw1h , & rtB . o4mntq1jfd , & rtB . j2g21zcr5b , & rtB .
hpir1kphxx , & rtB . pi2ii4ufwm , & rtB . iz1n4yrey2 , & rtB . iz1n4yrey2 , &
rtB . iz1n4yrey2 , & rtB . hyvw3g0pr4 , & rtB . m3g31sqwvs , & rtB .
iyujfsg4il , & rtB . hfzboalwag , & rtB . dttoav0moq , & rtB . cy0dyuedjp , &
rtB . prh0tvfdbd , & rtB . bnw3q0x0h2 , & rtB . h4eizf2njq , & rtB .
oia2g23wpz , & rtB . aphubgpj5g , & rtB . bitjivs5h3 , & rtB . bicv1bgkwt , &
rtB . o0dr2mdulx , & rtB . gvza14twud , & rtB . cpoajd5uh02 . htqonzvdzb [ 0
] , & rtB . cpoajd5uh02 . gx2jlq5q31 [ 0 ] , & rtB . n30etil1yvr . n4j2qb3der
, & rtB . ifs0c0epvr , & rtB . pubdfj1edpf . fsq15efoh5 , & rtB . kkpembvzgm
, & rtB . dui4igmu1s , & rtB . pemdc1ds0q , & rtB . j1khybhwff . gwfhlmmysn ,
& rtB . j1khybhwff . n1ku1hlgib , & rtB . j1khybhwff . l1s3iblud2 , & rtB .
iai2mktnen [ 0 ] , & rtB . meo3xsl5lqf . np4j3haun3 , & rtB . meo3xsl5lqf .
okk1dkpu34 , & rtB . fdz4phu3ryu . mrsm1mogfj , & rtB . dr11tqhixq , & rtB .
iz1n4yrey2 , & rtB . asc45ue45v , & rtB . g0gujplx2r , & rtB . n30etil1yvr .
a5wchsyxl2 , & rtB . pubdfj1edpf . py5uhmdfbm , & rtB . pubdfj1edpf .
nz3zaaaraq , & rtB . mgmfyffcon [ 0 ] , & rtB . fdz4phu3ryu . bxmfuji0dh , &
rtB . fdz4phu3ryu . ormyhe3icn , & rtB . fdz4phu3ryu . egkbdr0n0p , & rtB .
n30etil1yvr . lfmppyqz1u , & rtB . n30etil1yvr . n4j2qb3der , & rtB .
pubdfj1edpf . gefdxyy0g1 , & rtB . pubdfj1edpf . fsq15efoh5 , & rtB .
fdz4phu3ryu . ccvgxr12jg , & rtB . fdz4phu3ryu . dsjvzll5l3 , & rtB .
fdz4phu3ryu . f41yvkauih , & rtB . fdz4phu3ryu . mrsm1mogfj , & rtP .
Constant_Value , & rtP . Dead_Disable_Value , & rtP . Dead_Enable_Value , &
rtP . ctrl_mode_Value , & rtP . i_dc_limit_Value , & rtP . motor_enable_Value
, & rtP . speed_limit_Value , & rtP . Gain1_Gain , & rtP . Gain2_Gain , & rtP
. ManualSwitch_CurrentSetting_lozjlaovmx , & rtP .
ManualSwitch1_CurrentSetting , & rtP . Delay_InitialCondition_jrezgfzsw4 , &
rtP . Delay1_InitialCondition , & rtP . Delay2_InitialCondition , & rtP .
Constant6_Value , & rtP . Memory_InitialCondition , & rtP .
Memory1_InitialCondition , & rtP . Constant1_Value , & rtP . Gain_Gain , &
rtP . hall_motor_angel_choice_CurrentSetting , & rtP .
hall_motor_speed_choice_CurrentSetting , & rtP . FromWs_Time0 [ 0 ] , & rtP .
FromWs_Data0 [ 0 ] , & rtP . Merge_InitialOutput , & rtP .
modulatedwave_rep_seq_y [ 0 ] , & rtP . Memory_InitialCondition_ggq2uamd5m ,
& rtP . Memory1_InitialCondition_hul0dtsj5y , & rtP .
Memory2_InitialCondition , & rtP . Memory3_InitialCondition , & rtP .
Memory4_InitialCondition , & rtP . Switch_Threshold , & rtP .
CompareToConstant_const , & rtP . Constant1_Value_ot4nebnjcg , & rtP .
Constant2_Value_lpzpzwglez , & rtP . Constant3_Value_lp4igfeqm2 , & rtP .
Constant4_Value_gbsmiewbbg , & rtP . TS_Value , & rtP . Gain6_Gain , & rtP .
UnitDelay1_InitialCondition , & rtP . UnitDelay2_InitialCondition_hvi5vmqnsx
, & rtP . Multiply_Gain , & rtP . Constant_Value_hoxzd0nsmk , & rtP .
Constant1_Value_nrwkmil05x , & rtP . Constant2_Value , & rtP .
Constant3_Value , & rtP . Constant4_Value , & rtP . Constant5_Value , & rtP .
Constant23_Value , & rtP . UnitDelay_InitialCondition , & rtP .
DataStoreMemory_InitialValue , & rtP . DataStoreMemory2_InitialValue , & rtP
. DataStoreMemory_InitialValue_k3d0py0lyr , & rtP .
DataStoreMemory2_InitialValue_e0vyc005kc , & rtP . Delay_InitialCondition , &
rtP . Constant_Value_lwga4fzsnq , & rtP . LookUpTable1_bp01Data [ 0 ] , & rtP
. z_dir_Y0 , & rtP . z_dirPrev_Y0 , & rtP . Constant20_Value , & rtP .
Constant23_Value_hao4x44ah2 , & rtP . Constant24_Value , & rtP .
Constant8_Value_a5rnl3iohi , & rtP . UnitDelay2_InitialCondition_b4hpeiwu4m ,
& rtP . UnitDelay3_InitialCondition_o0fqg000ri , & rtP .
Delay_InitialCondition_e03esys32u , & rtP .
Delay1_InitialCondition_h33fxedixn , & rtP .
Delay2_InitialCondition_niglvl4npn , & rtP . Constant_Value_kwwys1kvag , &
rtP . Constant1_Value_pbdosmlzxp , & rtP . Constant16_Value , & rtP .
Constant2_Value_bvzbygmfek , & rtP . ManualSwitch_CurrentSetting_b43dnndgpt ,
& rtP . Gain_Gain_nwocmfpvxk , & rtP . Gain1_Gain_dcquyu5zec , & rtP .
Constant4_Value_nwbm45bej2 , & rtP . UnitDelay3_InitialCondition_ehofyfh5ho ,
& rtP . UnitDelay4_InitialCondition_dhy1cxosgt , & rtP .
Constant1_Value_fm0hfw5dcj , & rtP . Constant_Value_c1zzxyoirl , & rtP .
Constant1_Value_ivbm1cdrab , & rtP . Gain1_Gain_fqealp2cnm , & rtP .
Gain3_Gain , & rtP . Gain4_Gain , & rtP . Gain5_Gain , & rtP .
Vq_max_M1_maxIndex , & rtP . iq_maxSca_M1_maxIndex , & rtP .
Constant3_Value_iim4kqaacm , & rtP . Constant_Value_m5qrbrxcrt , & rtP .
Constant1_Value_bgqlwtwk4z , & rtP . Gain_Gain_aibzfyynsg , & rtP .
Constant_Value_gruv4kmzc0 , & rtP . ManualSwitch_CurrentSetting , & rtP .
raddeg_Gain , & rtP . r_fieldWeak_Y0 , & rtP . Constant_Value_afpjfy0ltl , &
rtP . Merge_InitialOutput_nnbegyxgeq , & rtP . iq_target_Y0 , & rtP .
Constant1_Value_mfuu3zdpmt , & rtP . dz_trnsDet_Y0 , & rtP . n_motRaw_Y0 , &
rtP . CompareToConstant_const_opnhp32m4z , & rtP . Constant4_Value_g5tdqfpf0h
, & rtP . smooth_Value , & rtP . g_Ha_Gain , & rtP . dz_cntTrnsDet_YOn , &
rtP . dz_cntTrnsDet_YOff , & rtP . UnitDelay1_InitialCondition_cbtku3cxyp , &
rtP . UnitDelay2_InitialCondition , & rtP . UnitDelay3_InitialCondition , &
rtP . UnitDelay4_InitialCondition , & rtP . UnitDelay5_InitialCondition , &
rtP . UnitDelay6_InitialCondition , & rtP . UnitDelay7_InitialCondition , &
rtP . UnitDelay8_InitialCondition , & rtP . b_enaAdvCtrl_Y0 , & rtP .
CompareToConstant_const_c30px104f3 , & rtP . n_commDeacv_YOn , & rtP .
n_commDeacv_YOff , & rtP . UnitDelay2_InitialCondition_jbowcjs2jf , & rtP .
UnitDelay3_InitialCondition_i4g0avon54 , & rtP .
UnitDelay5_InitialCondition_pwox0sikus , & rtP . Gain_Gain_p31gsgekrj , & rtP
. Gain1_Gain_elbvr5ycds , & rtP . Gain2_Gain_jhbn4t1dyg , & rtP . cpoajd5uh02
. UnitDelay1_InitialCondition , & rtP . Constant_Value_ivcroz2ekt , & rtP .
r_cos_M1_maxIndex , & rtP . r_sin_M1_maxIndex , & rtP . id_out_Y0 , & rtP .
Constant3_Value_cktpavq45n , & rtP . Constant4_Value_meuudjocpu , & rtP .
Constant6_Value_plm5mh4hzr , & rtP . Constant9_Value , & rtP . vq_out_Y0 , &
rtP . Constant1_Value_n1mqsrpxk5 , & rtP . Constant7_Value , & rtP .
Constant8_Value , & rtP . Constant_Value_lawquwqtq3 , & rtP .
Constant1_Value_cn31ybre3o , & rtP . Constant2_Value_j0nafyqrpv , & rtP .
Constant3_Value_nqkf541o1m , & rtP . Constant4_Value_eo5zsifiwc , & rtP .
Constant5_Value_axszy5sgp5 , & rtP . meo3xsl5lqf .
UnitDelay1_InitialCondition , & rtP . pi_out_Y0 , & rtP .
Constant_Value_fmokpqnlpw , & rtP . Constant1_Value_i3felecbvz , & rtP .
Constant11_Value , & rtP . Constant2_Value_ld1sjzzy1n , & rtP .
Constant5_Value_hukixlpixn , & rtP . Constant4_Value_oh2tsdggov , & rtP .
Gain_Gain_b3km5qa3ir , & rtP . Switch_Threshold_pf1zwyimv5 , & rtP .
n30etil1yvr . UnitDelay_InitialCondition , & rtP . pubdfj1edpf .
UnitDelay_InitialCondition_nx44oc1ciy , & rtP . fdz4phu3ryu .
UnitDelay_InitialCondition , & rtP . n30etil1yvr .
UnitDelay_InitialCondition_nofnsp1avs , & rtP . pubdfj1edpf .
UnitDelay_InitialCondition , & rtP . n_adc_max , & rtP . n_gain , & rtP .
n_polePairs , & rtP . n_ref_vol , & rtP . n_resistance , & rtP .
dz_cntTrnsDetHi , & rtP . dz_cntTrnsDetLo , & rtP . cf_speedCoef , & rtP .
i_hall_count_max , & rtP . z_maxCntRst , & rtP . i_hall_offset , & rtP .
r_cos_M1 [ 0 ] , & rtP . r_sin_M1 [ 0 ] , & rtP . n_commAcvLo , & rtP .
n_commDeacvHi , & rtP . Vq_max_XA [ 0 ] , & rtP . i_Udc , & rtP .
min_start_voltage_openloop , & rtP . n_fieldWeakAuthHi , & rtP .
n_fieldWeakAuthLo , & rtP . r_fieldWeakHi , & rtP . r_fieldWeakLo , & rtP .
Vd_max , & rtP . Vq_max_M1 [ 0 ] , & rtP . a_elecDeltaAngle , & rtP .
id_fieldWeakMax , & rtP . a_rpm_step , & rtP . f_lpf_coeff , & rtP .
iq_maxSca_M1 [ 0 ] , & rtP . iq_maxSca_XA [ 0 ] , & rtP . a_elecAngle_XA [ 0
] , & rtP . i_adc , & rtP . i_dead , & rtP . i_half_pwm_count , & rtP .
i_sample_before , & rtP . b_angleMeasEna , & rtP . b_fieldWeakEna , & rtP .
vec_hallToPos [ 0 ] , & rtP . OPEN_MODE , } ; static int32_T *
rtVarDimsAddrMap [ ] = { ( NULL ) } ;
#endif
static TARGET_CONST rtwCAPI_DataTypeMap rtDataTypeMap [ ] = { {
"unsigned short" , "uint16_T" , 0 , 0 , sizeof ( uint16_T ) , SS_UINT16 , 0 ,
0 , 0 } , { "unsigned char" , "uint8_T" , 0 , 0 , sizeof ( uint8_T ) ,
SS_UINT8 , 0 , 0 , 0 } , { "short" , "int16_T" , 0 , 0 , sizeof ( int16_T ) ,
SS_INT16 , 0 , 0 , 0 } , { "double" , "real_T" , 0 , 0 , sizeof ( real_T ) ,
SS_DOUBLE , 0 , 0 , 0 } , { "unsigned char" , "boolean_T" , 0 , 0 , sizeof (
boolean_T ) , SS_BOOLEAN , 0 , 0 , 0 } , { "unsigned int" , "uint32_T" , 0 ,
0 , sizeof ( uint32_T ) , SS_UINT32 , 0 , 0 , 0 } , { "signed char" ,
"int8_T" , 0 , 0 , sizeof ( int8_T ) , SS_INT8 , 0 , 0 , 0 } , { "int" ,
"int32_T" , 0 , 0 , sizeof ( int32_T ) , SS_INT32 , 0 , 0 , 0 } , { "numeric"
, "int64_T" , 0 , 0 , sizeof ( int64_T ) , SS_INT64 , 0 , 0 , 0 } } ;
#ifdef HOST_CAPI_BUILD
#undef sizeof
#endif
static TARGET_CONST rtwCAPI_ElementMap rtElementMap [ ] = { { ( NULL ) , 0 ,
0 , 0 , 0 } , } ; static const rtwCAPI_DimensionMap rtDimensionMap [ ] = { {
rtwCAPI_VECTOR , 0 , 2 , 0 } , { rtwCAPI_SCALAR , 2 , 2 , 0 } , {
rtwCAPI_VECTOR , 4 , 2 , 0 } , { rtwCAPI_VECTOR , 6 , 2 , 0 } , {
rtwCAPI_VECTOR , 8 , 2 , 0 } , { rtwCAPI_VECTOR , 10 , 2 , 0 } , {
rtwCAPI_VECTOR , 12 , 2 , 0 } , { rtwCAPI_VECTOR , 14 , 2 , 0 } , {
rtwCAPI_VECTOR , 16 , 2 , 0 } , { rtwCAPI_VECTOR , 18 , 2 , 0 } , {
rtwCAPI_VECTOR , 20 , 2 , 0 } , { rtwCAPI_VECTOR , 22 , 2 , 0 } } ; static
const uint_T rtDimensionArray [ ] = { 3 , 1 , 1 , 1 , 2 , 1 , 6 , 1 , 4 , 1 ,
44 , 1 , 8 , 1 , 1 , 3 , 1 , 361 , 1 , 46 , 1 , 50 , 1 , 8 } ; static const
real_T rtcapiStoredFloats [ ] = { 5.0E-6 , 0.0 , 1.0 , 5.0E-5 , 0.0025 } ;
static const rtwCAPI_FixPtMap rtFixPtMap [ ] = { { ( NULL ) , ( NULL ) ,
rtwCAPI_FIX_RESERVED , 0 , 0 , 0 } , { ( const void * ) & rtcapiStoredFloats
[ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 2 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 4 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 6 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 12 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 15 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 32 , - 10 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 32 , - 8 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 32 , - 7 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 64 , - 20 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 32 , - 6 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 7 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 18 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 14 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 13 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 16 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 10 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 8 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 9 , 1 } , { ( const void * ) &
rtcapiStoredFloats [ 2 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] ,
rtwCAPI_FIX_UNIFORM_SCALING , 16 , - 16 , 0 } } ; static const
rtwCAPI_SampleTimeMap rtSampleTimeMap [ ] = { { ( const void * ) &
rtcapiStoredFloats [ 0 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] , 1 ,
0 } , { ( const void * ) & rtcapiStoredFloats [ 1 ] , ( const void * ) &
rtcapiStoredFloats [ 1 ] , 0 , 0 } , { ( NULL ) , ( NULL ) , 4 , 0 } , { (
const void * ) & rtcapiStoredFloats [ 3 ] , ( const void * ) &
rtcapiStoredFloats [ 1 ] , 2 , 0 } , { ( const void * ) & rtcapiStoredFloats
[ 4 ] , ( const void * ) & rtcapiStoredFloats [ 1 ] , 3 , 0 } , { ( NULL ) ,
( NULL ) , - 1 , 0 } } ; static rtwCAPI_ModelMappingStaticInfo mmiStatic = {
{ rtBlockSignals , 163 , rtRootInputs , 0 , rtRootOutputs , 0 } , {
rtBlockParameters , 158 , rtModelParameters , 39 } , { ( NULL ) , 0 } , {
rtDataTypeMap , rtDimensionMap , rtFixPtMap , rtElementMap , rtSampleTimeMap
, rtDimensionArray } , "float" , { 2080476559U , 3124858972U , 2659875823U ,
2655922484U } , ( NULL ) , 0 , 0 } ; const rtwCAPI_ModelMappingStaticInfo *
MotorController_FOC_GetCAPIStaticMap ( void ) { return & mmiStatic ; }
#ifndef HOST_CAPI_BUILD
void MotorController_FOC_InitializeDataMapInfo ( void ) { rtwCAPI_SetVersion
( ( * rt_dataMapInfoPtr ) . mmi , 1 ) ; rtwCAPI_SetStaticMap ( ( *
rt_dataMapInfoPtr ) . mmi , & mmiStatic ) ; rtwCAPI_SetLoggingStaticMap ( ( *
rt_dataMapInfoPtr ) . mmi , ( NULL ) ) ; rtwCAPI_SetDataAddressMap ( ( *
rt_dataMapInfoPtr ) . mmi , rtDataAddrMap ) ; rtwCAPI_SetVarDimsAddressMap (
( * rt_dataMapInfoPtr ) . mmi , rtVarDimsAddrMap ) ;
rtwCAPI_SetInstanceLoggingInfo ( ( * rt_dataMapInfoPtr ) . mmi , ( NULL ) ) ;
rtwCAPI_SetChildMMIArray ( ( * rt_dataMapInfoPtr ) . mmi , ( NULL ) ) ;
rtwCAPI_SetChildMMIArrayLen ( ( * rt_dataMapInfoPtr ) . mmi , 0 ) ; }
#else
#ifdef __cplusplus
extern "C" {
#endif
void MotorController_FOC_host_InitializeDataMapInfo (
MotorController_FOC_host_DataMapInfo_T * dataMap , const char * path ) {
rtwCAPI_SetVersion ( dataMap -> mmi , 1 ) ; rtwCAPI_SetStaticMap ( dataMap ->
mmi , & mmiStatic ) ; rtwCAPI_SetDataAddressMap ( dataMap -> mmi , NULL ) ;
rtwCAPI_SetVarDimsAddressMap ( dataMap -> mmi , NULL ) ; rtwCAPI_SetPath (
dataMap -> mmi , path ) ; rtwCAPI_SetFullPath ( dataMap -> mmi , NULL ) ;
rtwCAPI_SetChildMMIArray ( dataMap -> mmi , ( NULL ) ) ;
rtwCAPI_SetChildMMIArrayLen ( dataMap -> mmi , 0 ) ; }
#ifdef __cplusplus
}
#endif
#endif
