• 大小: 6.5MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-25
  • 语言: 其他
  • 标签: 电力电子  spwm  

资源简介

电力电子spwm波仿真的源文件,有10个实例。可以运行。出结果

资源截图

代码片段和文件信息

/* Include files */

#include 
#include “blas.h“
#include “inverter_svpwm_threelevel_sfun.h“
#include “c1_inverter_svpwm_threelevel.h“
#define CHARTINSTANCE_CHARTNUMBER      (chartInstance->chartNumber)
#define CHARTINSTANCE_INSTANCENUMBER   (chartInstance->instanceNumber)
#include “inverter_svpwm_threelevel_sfun_debug_macros.h“
#define _SF_MEX_LISTEN_FOR_CTRL_C(S)   sf_mex_listen_for_ctrl_c(sfGlobalDebugInstanceStructS);

/* Type Definitions */

/* Named Constants */
#define CALL_EVENT                     (-1)

/* Variable Declarations */

/* Variable Definitions */
static real_T _sfTime_;
static const char * c1_debug_family_names[9] = { “nargin“ “nargout“ “theta60“
  “udc“ “u“ “ualfa“ “ubeta“ “y“ “k“ };

/* Function Declarations */
static void initialize_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void initialize_params_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void enable_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void disable_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void c1_update_debugger_state_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static const mxArray *get_sim_state_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void set_sim_state_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance const mxArray
   *c1_st);
static void finalize_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void sf_gateway_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void c1_chartstep_c1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void initSimStructsc1_inverter_svpwm_threelevel
  (SFc1_inverter_svpwm_threelevelInstanceStruct *chartInstance);
static void init_script_number_translation(uint32_T c1_machineNumber uint32_T
  c1_chartNumber uint32_T c1_instanceNumber);
static const mxArray *c1_sf_marshallOut(void *chartInstanceVoid void *c1_inData);
static real_T c1_emlrt_marshallIn(SFc1_inverter_svpwm_threelevelInstanceStruct
  *chartInstance const mxArray *c1_k const char_T *c1_identifier);
static real_T c1_b_emlrt_marshallIn(SFc1_inverter_svpwm_threelevelInstanceStruct
  *chartInstance const mxArray *c1_u const emlrtMsgIdentifier *c1_parentId);
static void c1_sf_marshallIn(void *chartInstanceVoid const mxArray
  *c1_mxArrayInData const char_T *c1_varName void *c1_outData);
static void c1_info_helper(const mxArray **c1_info);
static const mxArray *c1_emlrt_marshallOut(const char * c1_u);
static const mxArray *c1_b_emlrt_marshallOut(const uint32_T c1_u);

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       8825  2009-04-18 11:59  triangle_SHPWM1.m

     文件      42349  2009-04-28 10:30  inverter2.mdl

----------- ---------  ---------- -----  ----

                51174                    2


评论

共有 条评论