bancada-motores/Control/VF Control/slprj/speedgoat/_sharedutils/rt_look.h
Pedro Jose Romero Gombau 447269b383 Si
2024-10-28 11:36:48 +01:00

52 lines
1.0 KiB
C

/*
* rt_look.h
*
* Academic License - for use in teaching, academic research, and meeting
* course requirements at degree granting institutions only. Not for
* government, commercial, or other organizational use.
*
* Code generation for model "VFControl".
*
* Model version : 1.1
* Simulink Coder version : 24.1 (R2024a) 19-Nov-2023
* C++ source code generated on : Wed Oct 16 10:45:53 2024
*/
#ifndef rt_look_h_
#define rt_look_h_
#include "rtwtypes.h"
#ifdef DOINTERPSEARCH
#include <float.h>
#endif
#ifdef __cplusplus
extern "C"
{
#endif
#ifndef INTERP
#define INTERP(x,x1,x2,y1,y2) ( (y1)+(((y2) - (y1))/((x2) - (x1)))*((x)-(x1)) )
#endif
#ifndef ZEROTECHNIQUE
#define ZEROTECHNIQUE
typedef enum {
NORMAL_INTERP,
AVERAGE_VALUE,
MIDDLE_VALUE
} ZeroTechnique;
#endif
extern int_T rt_GetLookupIndex(const real_T *x, int_T xlen, real_T u) ;
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif /* rt_look_h_ */