📄 demo1103_io_ad_pwm3_v7.h
字号:
real_T Saturation_LowerSat; /* Expression: -0.6
* '<S8>/Saturation'
*/
real_T to_fract_Gain; /* Expression: 1
* '<S8>/to_fract'
*/
real_T toggle_Gain; /* Expression: 1
* '<S3>/toggle'
*/
real_T Emergencystop_Value; /* Expression: 1
* '<S3>/Emergency stop'
*/
real_T OriginalPosition_Value; /* Expression: 0
* '<S3>/Original Position'
*/
real_T Switch_Threshold; /* Expression: 0.5
* '<S3>/Switch'
*/
real_T controlout_UpperSat; /* Expression: 0.6
* '<S3>/control out'
*/
real_T controlout_LowerSat; /* Expression: -0.6
* '<S3>/control out'
*/
real_T Duty_in_a_Value; /* Expression: 0.5
* '<S3>/Duty_in_a'
*/
real_T Duty_in_a1_Value; /* Expression: 0.1
* '<S3>/Duty_in_a1'
*/
real_T Saturation1_UpperSat; /* Expression: 1
* '<S3>/Saturation1'
*/
real_T Saturation1_LowerSat; /* Expression: 0
* '<S3>/Saturation1'
*/
real_T toggle1_Gain; /* Expression: 100
* '<S3>/toggle1'
*/
real_T Saturation2_UpperSat; /* Expression: 1
* '<S3>/Saturation2'
*/
real_T Saturation2_LowerSat; /* Expression: 0
* '<S3>/Saturation2'
*/
real_T toggle2_Gain; /* Expression: 100
* '<S3>/toggle2'
*/
real_T Aim_position_Value; /* Expression: 2.47
* '<S3>/Aim_position'
*/
real_T SliderGain_Gain; /* Expression: gain
* '<S6>/Slider Gain'
*/
real_T Constant2_Value; /* Expression: 2.50
* '<S3>/Constant2'
*/
real_T SliderGain_Gain_f; /* Expression: gain
* '<S7>/Slider Gain'
*/
real_T PT1_A; /* Computed Parameter: A
* '<S8>/PT1'
*/
real_T PT1_C; /* Computed Parameter: C
* '<S8>/PT1'
*/
real_T to_V_Gain; /* Expression: 1
* '<S8>/to_V'
*/
real_T f_k_d_Gain; /* Expression: 0.001
* '<S8>/f_k_d'
*/
real_T DT1_A; /* Computed Parameter: A
* '<S8>/DT1'
*/
real_T DT1_C; /* Computed Parameter: C
* '<S8>/DT1'
*/
real_T DT1_D; /* Computed Parameter: D
* '<S8>/DT1'
*/
real_T f_k_d1_Gain; /* Expression: 0.001
* '<S8>/f_k_d1'
*/
real_T DT2_A; /* Computed Parameter: A
* '<S8>/DT2'
*/
real_T DT2_C; /* Computed Parameter: C
* '<S8>/DT2'
*/
real_T DT2_D; /* Computed Parameter: D
* '<S8>/DT2'
*/
real_T zero_Value; /* Expression: 0.0
* '<S10>/zero'
*/
real_T Switch_Threshold_e; /* Expression: 0
* '<S10>/Switch'
*/
real_T I_A; /* Computed Parameter: A
* '<S8>/I'
*/
real_T I_C; /* Computed Parameter: C
* '<S8>/I'
*/
real_T f_k_p_Gain; /* Expression: 1
* '<S8>/f_k_p'
*/
real_T k_p_Gain; /* Expression: 1
* '<S8>/k_p'
*/
real_T f_k_i_Gain; /* Expression: 0
* '<S8>/f_k_i'
*/
real_T Duty_in_c_Value; /* Expression: 0.5
* '<S3>/Duty_in_c'
*/
real_T SliderGain_Gain_c; /* Expression: gain
* '<S9>/Slider Gain'
*/
real_T Saturation3_UpperSat; /* Expression: 1
* '<S3>/Saturation3'
*/
real_T Saturation3_LowerSat; /* Expression: 0
* '<S3>/Saturation3'
*/
uint16_T Gain_Gain_k; /* Computed Parameter: Gain
* '<Root>/Gain'
*/
};
/* Real-time Model Data Structure */
struct RT_MODEL_Demo1103_IO_AD_PWM3_V7 {
const char_T *errorStatus;
};
/* Block parameters (auto storage) */
extern Parameters_Demo1103_IO_AD_PWM3_ Demo1103_IO_AD_PWM3_V7_P;
/* Block signals (auto storage) */
extern BlockIO_Demo1103_IO_AD_PWM3_V7 Demo1103_IO_AD_PWM3_V7_B;
/* Block states (auto storage) */
extern D_Work_Demo1103_IO_AD_PWM3_V7 Demo1103_IO_AD_PWM3_V7_DWork;
/* Model entry point functions */
extern void Demo1103_IO_AD_PWM3_V7_initialize(boolean_T firstTime);
extern void Demo1103_IO_AD_PWM3_V7_step(void);
extern void Demo1103_IO_AD_PWM3_V7_terminate(void);
/* Real-time Model object */
extern RT_MODEL_Demo1103_IO_AD_PWM3_V7 *Demo1103_IO_AD_PWM3_V7_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.
*
* Use the MATLAB hilite_system command to trace the generated code back
* to the model. For example,
*
* hilite_system('<S3>') - opens system 3
* hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
*
* Here is the system hierarchy for this model
*
* '<Root>' : Demo1103_IO_AD_PWM3_V7
* '<S1>' : Demo1103_IO_AD_PWM3_V7/Custom Board
* '<S2>' : Demo1103_IO_AD_PWM3_V7/Enable stratagy
* '<S3>' : Demo1103_IO_AD_PWM3_V7/Enabled Subsystem
* '<S4>' : Demo1103_IO_AD_PWM3_V7/Filter Subsystem
* '<S5>' : Demo1103_IO_AD_PWM3_V7/Enable stratagy/TicTac
* '<S6>' : Demo1103_IO_AD_PWM3_V7/Enabled Subsystem/Aim_POSITION_Slider
* '<S7>' : Demo1103_IO_AD_PWM3_V7/Enabled Subsystem/Idle_Model_Aim_RMP1
* '<S8>' : Demo1103_IO_AD_PWM3_V7/Enabled Subsystem/PID
* '<S9>' : Demo1103_IO_AD_PWM3_V7/Enabled Subsystem/Slider Gain2
* '<S10>' : Demo1103_IO_AD_PWM3_V7/Enabled Subsystem/PID/Anti-Windup
*/
#endif /* _RTW_HEADER_Demo1103_IO_AD_PWM3_V7_h_ */
/* File trailer for Real-Time Workshop generated code.
*
* [EOF]
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -