This repository has been archived on 2025-04-28. You can view files and clone it, but cannot push or open issues or pull requests.
EMS/1.Software/Verify/simulink/test1_ert_rtw/test1.h

78 lines
2.1 KiB
C

/*
* File: test1.h
*
* Code generated for Simulink model 'test1'.
*
* Model version : 1.12
* Simulink Coder version : 9.8 (R2022b) 13-May-2022
* C/C++ source code generated on : Mon Jan 29 10:36:35 2024
*
* Target selection: ert.tlc
* Embedded hardware selection: Intel->x86-64 (Windows64)
* Code generation objectives: Unspecified
* Validation result: Not run
*/
#ifndef RTW_HEADER_test1_h_
#define RTW_HEADER_test1_h_
#ifndef test1_COMMON_INCLUDES_
#define test1_COMMON_INCLUDES_
#include "rtwtypes.h"
#endif /* test1_COMMON_INCLUDES_ */
#include "test1_types.h"
/* Macros for accessing real-time model data structure */
#ifndef rtmGetErrorStatus
#define rtmGetErrorStatus(rtm) ((rtm)->errorStatus)
#endif
#ifndef rtmSetErrorStatus
#define rtmSetErrorStatus(rtm, val) ((rtm)->errorStatus = (val))
#endif
/* Real-time Model Data Structure */
struct tag_RTM {
const char_T * volatile errorStatus;
};
/* Model entry point functions */
extern void test1_initialize(void);
extern void test1_step(void);
extern void test1_terminate(void);
/* Real-time Model object */
extern RT_MODEL *const rtM;
/* Exported data declaration */
/* Declaration for custom storage class: Global */
extern real_T x; /* '<Root>/in1' */
extern real_T y; /* '<Root>/in2' */
extern real_T z; /* '<Root>/out1' */
/*-
* The generated code includes comments that allow you to trace directly
* back to the appropriate location in the model. The basic format
* is <system>/block_name, where system is the system number (uniquely
* assigned by Simulink) and block_name is the name of the block.
*
* Use the MATLAB hilite_system command to trace the generated code back
* to the model. For example,
*
* hilite_system('<S3>') - opens system 3
* hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
*
* Here is the system hierarchy for this model
*
* '<Root>' : 'test1'
* '<S1>' : 'test1/fcn'
*/
#endif /* RTW_HEADER_test1_h_ */
/*
* File trailer for generated code.
*
* [EOF]
*/