修正ioc,还没更新代码
This commit is contained in:
@@ -3,9 +3,9 @@
|
||||
*
|
||||
* Code generated for Simulink model 'control'.
|
||||
*
|
||||
* Model version : 1.214
|
||||
* Model version : 1.249
|
||||
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
|
||||
* C/C++ source code generated on : Tue Sep 16 10:55:35 2025
|
||||
* C/C++ source code generated on : Wed Sep 17 15:56:46 2025
|
||||
*
|
||||
* Target selection: ert.tlc
|
||||
* Embedded hardware selection: ARM Compatible->ARM Cortex
|
||||
@@ -18,8 +18,29 @@
|
||||
#include "rtwtypes.h"
|
||||
#include "builtin_typeid_types.h"
|
||||
#include "control_types.h"
|
||||
#include "control.h"
|
||||
#include "rtw_continuous.h"
|
||||
#include "rtw_solver.h"
|
||||
|
||||
/* Private macros used by the generated code to access rtModel */
|
||||
#ifndef rtmIsMajorTimeStep
|
||||
#define rtmIsMajorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MAJOR_TIME_STEP)
|
||||
#endif
|
||||
|
||||
#ifndef rtmIsMinorTimeStep
|
||||
#define rtmIsMinorTimeStep(rtm) (((rtm)->Timing.simTimeStep) == MINOR_TIME_STEP)
|
||||
#endif
|
||||
|
||||
#ifndef rtmSetTPtr
|
||||
#define rtmSetTPtr(rtm, val) ((rtm)->Timing.t = (val))
|
||||
#endif
|
||||
|
||||
extern real_T rt_roundd_snf(real_T u);
|
||||
extern real_T look1_binlxpw(real_T u0, const real_T bp0[], const real_T table[],
|
||||
uint32_T maxIndex);
|
||||
|
||||
/* private model entry point functions */
|
||||
extern void control_derivatives(void);
|
||||
|
||||
#endif /* control_private_h_ */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user