资源简介
单项锁相环 MATLAB Simulink仿真 C语言 S-Function写的 数字PI控制器

代码片段和文件信息
/*
* File: h_function.c
*
*
* --- THIS FILE GENERATED BY S-FUNCTION BUILDER: 3.0 ---
*
* This file is an S-function produced by the S-Function
* Builder which only recognizes certain fields. Changes made
* outside these fields will be lost the next time the block is
* used to load edit and resave this file. This file will be overwritten
* by the S-function Builder block. If you want to edit this file by hand
* you must change it only in the area defined as:
*
* %%%-SFUNWIZ_defines_Changes_BEGIN
* #define NAME ‘replacement text‘
* %%% SFUNWIZ_defines_Changes_END
*
* DO NOT change NAME--Change the ‘replacement text‘ only.
*
* For better compatibility with the Simulink Coder the
* “wrapper“ S-function technique is used. This is discussed
* in the Simulink Coder‘s Manual in the Chapter titled
* “Wrapper S-functions“.
*
* -------------------------------------------------------------------------
* | See matlabroot/simulink/src/sfuntmpl_doc.c for a more detailed template |
* -------------------------------------------------------------------------
* Created: Tue Jul 25 22:54:17 2017
*/
#define S_FUNCTION_LEVEL 2
#define S_FUNCTION_NAME h_function
/*<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
/* %%%-SFUNWIZ_defines_Changes_BEGIN --- EDIT HERE TO _END */
#define NUM_INPUTS 1
/* Input Port 0 */
#define IN_PORT_0_NAME u0
#define INPUT_0_WIDTH 8
#define INPUT_DIMS_0_COL 1
#define INPUT_0_DTYPE real_T
#define INPUT_0_COMPLEX COMPLEX_NO
#define IN_0_frame_baseD frame_NO
#define IN_0_BUS_baseD 0
#define IN_0_BUS_NAME
#define IN_0_DIMS 1-D
#define INPUT_0_FEEDTHROUGH 1
#define IN_0_ISSIGNED 0
#define IN_0_WORDLENGTH 8
#define IN_0_FIXPOINTSCALING 1
#define IN_0_FRACTIONLENGTH 9
#define IN_0_BIAS 0
#define IN_0_SLOPE 0.125
#define NUM_OUTPUTS 1
/* Output Port 0 */
#define OUT_PORT_0_NAME y0
#define OUTPUT_0_WIDTH 8
#define OUTPUT_DIMS_0_COL 1
#define OUTPUT_0_DTYPE real_T
#define OUTPUT_0_COMPLEX COMPLEX_NO
#define OUT_0_frame_baseD frame_NO
#define OUT_0_BUS_baseD 0
#define OUT_0_BUS_NAME
#define OUT_0_DIMS 1-D
#define OUT_0_ISSIGNED 1
#define OUT_0_WORDLENGTH 8
#define OUT_0_FIXPOINTSCALING 1
#define OUT_0_FRACTIONLENGTH 3
#define OUT_0_BIAS 0
#define OUT_0_SLOPE 0.125
#define NPARAMS 0
#define SAMPLE_TIME_0 0.000078124
#define NUM_DISC_STATES 0
#define DISC_STATES_IC [0]
#define NUM_CONT_STATES 0
#define CONT_STATES_IC [0]
#define SFUNWIZ_GENERATE_TLC 1
#define SOURCEFILES “__SFB__“
#define PANELINDEX 6
#define USE_SIMSTRUCT 0
#define SHOW_COMPILE_STEPS 0
#define CREATE_DEBUG_MEXFILE
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 24692 2017-08-25 17:13 单相锁相\hbridge.slx
文件 24113 2017-08-05 15:23 单相锁相\hbridge.slx.original
文件 7983 2017-08-25 11:44 单相锁相\h_function.c
文件 14848 2017-08-25 16:52 单相锁相\h_function.mexw64
文件 1566 2017-07-25 22:54 单相锁相\h_function.tlc
文件 5234 2017-08-25 16:52 单相锁相\h_function_wrapper.c
文件 2880 2017-07-25 22:54 单相锁相\rtwmakecfg.m
文件 279 2017-07-25 22:54 单相锁相\SFB__h_function__SFB.mat
目录 0 2017-08-25 17:13 单相锁相
----------- --------- ---------- ----- ----
81595 9
相关资源
- 卡尔曼定位程序
- 基于VC、MATLAB的汽车制动性能仿真
- MATLAB通信仿真及应用详解附超星阅读
- filtfilt C语言实现,可直接运行验证
- 台湾林智仁开发的libsvm-3.0.1
- Matlab与C++混合程序设计第三版
- 粒子群算法及其代码实现
- 九轴姿态解算matlab源代码 两种方法代
- 经纬度坐标转换为平面坐标的matlab实
- 数字图像处理与机器视觉——Visual
- 利用FFT计算频谱图
- 用matlab编的基于DTW和MFC算法的语音识
-
从Matlab_Simuli
nk模型到代码实现 - MUSIC算法C语言+MATLAB
- MATLAB科学计算及分析唐培培源代码
- 灰色预测模型资料和程序.rar
- matcom4.5绿色破解版
- matlab下的基于高斯混合模型的说话人
- Matlab中峰值计算函数findpeaks()的c
- 图像去雾代码集合
- 电容恒流充电模糊控制matlab仿真与实
- 基于mfcc的说话人语音识别matlb
- 图像识别算法,相关matlab编程
- Miguel的二维解包裹算法Matlab程序及C程
- 点云数据txt格式
- MATLAB Demystified中文版.最好的matlab自学
- 基于MFCC的GMM的语音识别
- Matlab6.5 与 VC6 利用动态链接库实现混
- 有限差分模拟电磁波场
- MATLAB图论工具箱,matlabBGL
评论
共有 条评论