⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 c2812rtdxtest.h

📁 由MATLAB生成的RTDX的源代码
💻 H
字号:
/*
 * File: c2812rtdxtest.h
 *
 * Real-Time Workshop code generated for Simulink model c2812rtdxtest.
 *
 * Model version                        : 1.890
 * Real-Time Workshop file version      : 6.3  (R14SP3)  26-Jul-2005
 * Real-Time Workshop file generated on : Sun Dec 14 16:57:41 2008
 * TLC version                          : 6.3 (Aug  5 2005)
 * C source code generated on           : Sun Dec 14 16:57:43 2008
 */

#ifndef _RTW_HEADER_c2812rtdxtest_h_
#define _RTW_HEADER_c2812rtdxtest_h_

#ifndef _c2812rtdxtest_COMMON_INCLUDES_
# define _c2812rtdxtest_COMMON_INCLUDES_
#include <float.h>
#include <stddef.h>
#include <math.h>
#include "rtwtypes.h"
#include "rt_nonfinite.h"
#endif                                  /* _c2812rtdxtest_COMMON_INCLUDES_ */

#include "c2812rtdxtest_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

/* Block signals (auto storage) */
typedef struct {
  real32_T SineFrequency;               /* '<Root>/Sine Frequency' */
  real32_T SineAmplitude;               /* '<Root>/Sine Amplitude' */
} BlockIO_c2812rtdxtest;

/* Constant parameters (auto storage) */
typedef struct {
  /* Computed Parameter: Value
   * '<Root>/Input Data'
   */
  real32_T InputData_Value[100];
  /* Computed Parameter: IC
   * Referenced by blocks:
   * '<Root>/Sine Amplitude'
   * '<Root>/Sine Frequency'
   */
  real32_T pooled1;
} ConstParam_c2812rtdxtest;

/* Real-time Model Data Structure */
struct RT_MODEL_c2812rtdxtest {
  const char_T *errorStatus;
};

/* Block signals (auto storage) */
extern BlockIO_c2812rtdxtest c2812rtdxtest_B;

/* Constant parameters (auto storage) */
extern const ConstParam_c2812rtdxtest c2812rtdxtest_ConstP;

/* Model entry point functions */
extern void c2812rtdxtest_initialize(boolean_T firstTime);
extern void c2812rtdxtest_step(void);
extern void c2812rtdxtest_terminate(void);

/* Real-time Model object */
extern RT_MODEL_c2812rtdxtest *c2812rtdxtest_M;

/* 
 * 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>' : c2812rtdxtest
 * '<S1>'   : c2812rtdxtest/F2812 eZdsp
 */

#endif                                  /* _RTW_HEADER_c2812rtdxtest_h_ */

/* File trailer for Real-Time Workshop generated code.
 *
 * [EOF]
 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -