26 lines
741 B
C
26 lines
741 B
C
/**************************************************************************
|
|
Description: Çàäàíèå êîëè÷åñòâà âõîäîâ, âûõîäîâ, ïàðàìåòðîâ, à òàêæå
|
|
ðàçìåðà ðàáî÷èõ âåêòîðîâ S-function.
|
|
|
|
Àâòîð: Óëèòîâñêèé Ä.È.
|
|
Äàòà ïîñëåäíåãî îáíîâëåíèÿ: 2021.09.22
|
|
**************************************************************************/
|
|
|
|
#include "simstruc.h"
|
|
|
|
#ifndef WRAPPER
|
|
#define WRAPPER
|
|
|
|
#define INPUT_0_WIDTH 20 //êîë-âî âõîäîâ
|
|
#define OUTPUT_0_WIDTH 49 //êîë-âî âûõîäîâ
|
|
#define NPARAMS 1 //êîë-âî ïàðàìåòðîâ (ñêàëÿðîâ è âåêòîðîâ)
|
|
#define RWORK_0_WIDTH 5 //width of the real-work vector
|
|
#define IWORK_0_WIDTH 5 //width of the integer-work vector
|
|
|
|
|
|
void controller(SimStruct *S, const real_T *u, real_T *xD, real_T *rW,
|
|
int_T *iW);
|
|
|
|
|
|
#endif
|