Loading...
Searching...
No Matches
MCU.c File Reference

Исходный код S-Function. More...

`#include "mcu_wrapper_conf.h"`
`#include "cg_sfun.h"`
Include dependency graph for MCU.c:

Go to the source code of this file.

## Macros

#define | S_FUNCTION_NAME MCU
#define | S_FUNCTION_LEVEL 2
#define | MDL_UPDATE
| для подключения mdlUpdate()
#define | MDL_CHECK_PARAMETERS /* Change to #undef to remove function */
#define | MDL_START /* Change to #undef to remove function */

## Functions

static void | mdlUpdate (SimStruct *S)
| Update S-Function at every step of simulation.
static void | mdlOutputs (SimStruct *S)
| Writting outputs of S-Function.
static void | mdlInitializeSizes (SimStruct *S)
static void | mdlStart (SimStruct *S)
| Initialize S-Function at start of simulation.
static void | mdlInitializeSampleTimes (SimStruct *S)
| Initialize Sample Time of Simulation.
static void | mdlTerminate (SimStruct *S)
| Terminate S-Function at the end of simulation.

## Detailed Description

Исходный код S-Function.

Данный файл содержит функции S-Function, который вызывает MATLAB.

Note
  Описание функций по большей части сгенерировано MATLAB'ом, поэтому на английском

Definition in file MCU.c.