SPM.h 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. /*
  2. * File: SPM.h
  3. *
  4. * Code generated for Simulink model 'SPM'.
  5. *
  6. * Model version : 1.31
  7. * Simulink Coder version : 9.4 (R2020b) 29-Jul-2020
  8. * C/C++ source code generated on : Thu Sep 9 18:13:23 2021
  9. *
  10. * Target selection: ert.tlc
  11. * Embedded hardware selection: Intel->x86-64 (Windows64)
  12. * Code generation objectives: Unspecified
  13. * Validation result: Not run
  14. */
  15. #ifndef RTW_HEADER_SPM_h_
  16. #define RTW_HEADER_SPM_h_
  17. #ifndef SPM_COMMON_INCLUDES_
  18. #define SPM_COMMON_INCLUDES_
  19. #include "rtwtypes.h"
  20. #include "zero_crossing_types.h"
  21. #endif /* SPM_COMMON_INCLUDES_ */
  22. #include "SPM_types.h"
  23. /* Child system includes */
  24. #ifndef SPM_MDLREF_HIDE_CHILD_
  25. #define SOH_MDLREF_HIDE_CHILD_
  26. #include "SOH.h"
  27. #endif /*SPM_MDLREF_HIDE_CHILD_*/
  28. #ifndef SPM_MDLREF_HIDE_CHILD_
  29. #define BLC_MDLREF_HIDE_CHILD_
  30. #include "BLC.h"
  31. #endif /*SPM_MDLREF_HIDE_CHILD_*/
  32. #ifndef SPM_MDLREF_HIDE_CHILD_
  33. #define SOC_MDLREF_HIDE_CHILD_
  34. #include "SOC.h"
  35. #endif /*SPM_MDLREF_HIDE_CHILD_*/
  36. /* Includes for objects with custom storage classes. */
  37. #include "BCUCal.h"
  38. #include "BCUDisp.h"
  39. #ifndef SPM_MDLREF_HIDE_CHILD_
  40. /* Real-time Model Data Structure */
  41. struct tag_RTM_SPM_T {
  42. const char_T **errorStatus;
  43. };
  44. #endif /*SPM_MDLREF_HIDE_CHILD_*/
  45. #ifndef SPM_MDLREF_HIDE_CHILD_
  46. typedef struct {
  47. RT_MODEL_SPM_T rtm;
  48. } MdlrefDW_SPM_T;
  49. #endif /*SPM_MDLREF_HIDE_CHILD_*/
  50. extern void SPM_Init(void);
  51. extern void SPM_Disable(void);
  52. extern void SPM(void);
  53. /* Model reference registration function */
  54. extern void SPM_initialize(const char_T **rt_errorStatus);
  55. #ifndef SPM_MDLREF_HIDE_CHILD_
  56. extern MdlrefDW_SPM_T SPM_MdlrefDW;
  57. #endif /*SPM_MDLREF_HIDE_CHILD_*/
  58. /*-
  59. * The generated code includes comments that allow you to trace directly
  60. * back to the appropriate location in the model. The basic format
  61. * is <system>/block_name, where system is the system number (uniquely
  62. * assigned by Simulink) and block_name is the name of the block.
  63. *
  64. * Use the MATLAB hilite_system command to trace the generated code back
  65. * to the model. For example,
  66. *
  67. * hilite_system('<S3>') - opens system 3
  68. * hilite_system('<S3>/Kp') - opens and selects block Kp which resides in S3
  69. *
  70. * Here is the system hierarchy for this model
  71. *
  72. * '<Root>' : 'SPM'
  73. */
  74. #endif /* RTW_HEADER_SPM_h_ */
  75. /*
  76. * File trailer for generated code.
  77. *
  78. * [EOF]
  79. */