/* * File: Subsystem.h * * Code generated for Simulink model 'Subsystem'. * * Model version : 1.2 * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020 * C/C++ source code generated on : Fri Oct 14 20:06:32 2022 * * Target selection: ert.tlc * Embedded hardware selection: ARM Compatible->ARM Cortex-M * Code generation objectives: * 1. Execution efficiency * 2. RAM efficiency * Validation result: Not run */ #ifndef RTW_HEADER_Subsystem_h_ #define RTW_HEADER_Subsystem_h_ #ifndef Subsystem_COMMON_INCLUDES_ #define Subsystem_COMMON_INCLUDES_ #include "rtwtypes.h" #endif /* Subsystem_COMMON_INCLUDES_ */ /* Model Code Variants */ /* Macros for accessing real-time model data structure */ /* Block signals and states (default storage) for system '' */ typedef struct { real_T DiscreteTimeIntegrator_DSTATE;/* '/Discrete-Time Integrator' */ real_T DiscreteTimeIntegrator1_DSTATE;/* '/Discrete-Time Integrator1' */ } DW; /* External inputs (root inport signals with default storage) */ typedef struct { real_T in; /* '/in' */ real_T time; /* '/time' */ } ExtU; /* External outputs (root outports fed by signals with default storage) */ typedef struct { real_T target; /* '/target' */ real_T diff; /* '/diff' */ } ExtY; /* Block signals and states (default storage) */ extern DW rtDW; /* External inputs (root inport signals with default storage) */ extern ExtU rtU; /* External outputs (root outports fed by signals with default storage) */ extern ExtY rtY; /* Model entry point functions */ extern void Subsystem_initialize(void); extern void Subsystem_step(void); /*- * The generated code includes comments that allow you to trace directly * back to the appropriate location in the model. The basic format * is /block_name, where system is the system number (uniquely * assigned by Simulink) and block_name is the name of the block. * * Note that this particular code originates from a subsystem build, * and has its own system numbers different from the parent model. * Refer to the system hierarchy for this subsystem below, and use the * MATLAB hilite_system command to trace the generated code back * to the parent model. For example, * * hilite_system('ADRC/Subsystem') - opens subsystem ADRC/Subsystem * hilite_system('ADRC/Subsystem/Kp') - opens and selects block Kp * * Here is the system hierarchy for this model * * '' : 'ADRC' * '' : 'ADRC/Subsystem' */ #endif /* RTW_HEADER_Subsystem_h_ */ /* * File trailer for generated code. * * [EOF] */