Files
B_Current_Ctrl/gencode/Matlab/control_ert_rtw/control_private.h
T
2025-09-18 20:39:22 +08:00

52 lines
1.3 KiB
C

/*
* File: control_private.h
*
* Code generated for Simulink model 'control'.
*
* Model version : 1.249
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C/C++ source code generated on : Wed Sep 17 15:56:46 2025
*
* Target selection: ert.tlc
* Embedded hardware selection: ARM Compatible->ARM Cortex
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#ifndef control_private_h_
#define control_private_h_
#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_ */
/*
* File trailer for generated code.
*
* [EOF]
*/