搜索资源列表
vcmatlab7src
- MATLAB Compiler 是MATLAB自带的一个编译器,它能将m文件转化成 C、C++或p等各种类型的源代码,并根据需要生成可执行文件、lib文件(库文件)、dll文件或S函数文件等。MATLAB 6.5 使用的编译器包括了MATLAB 的C\\C++数学库函数以及图形库。动态链接库(dll)是编写软件中常用的一种技术,MATLAB提供了将M文件编制成dll文件的方法,本文就介绍如何在MATLAB6.5中将m文件z转化成dll文件,然后在VC中调用该dll文件。 -MATLAB Co
bldc_1_sinusoidal
- 用C语言编写的S函数源代码,用于在MATLAB/Simulink环境下仿真永磁无刷直流电机,在MATLAB7.0以上环境下编译成动态链接库然后在Simulink中使用。模块信息见源码注释。-C language prepared by the S-function source code, for the MATLAB / Simulink environment simulation permanent magnet brushless DC motor, In the above circu
DCM_H
- 用C语言编写的在Simulink环境下对转速可调永磁直流电机进行数值仿真的S函数源代码。该仿真源代码的特点是:能够仿真目前广泛应用的H桥驱动PWM调制调速永磁直流电机。将功率器件H桥与电机本体的数学模型完整的结合到一起。执行效率很高,仿真结果与实验结果非常相近。-C language in the Simulink environment for adjustable speed permanent magnet DC motor simulation S-function source cod
current_park
- 用C语言编写的在Simulink环境下对3相交流电机交直流帕克变换进行数值仿真的S函数源代码。特点:考虑到了便于在单片机中执行的特点,完全使用定点算法实现。在MATLAB中编译成动态链接库后就可在Simulink中使用。-C language in the Simulink environment for 3-phase AC and DC motor Parker transform few value of the S-function simulation source code. Fea
Masking example Matlab_smlk
- Example of using RTW toolbox to generate a S-Function/ C/C++ source code for a masked block in simulink
barplot
- An example C-file S-function for accessing simulink signals * without using the standard block inputs. In this case, a floating * bar-plot style scope is implemented. The signals that are selected * on the diagram (via the mouse) are display
s_function_CH
- matlab中simulink中用C语言编写S函数模板的翻译版本-matlab in simulink using C language translation S function template version
s.t
- 有约束2a+b^2+tan(c)=15 目标函数a*exp(b/x)+c=y 的最小二乘解-Binding 2a+ B ^ 2+ Tan (c) = 15 the objective function a* exp (b/x)+ C = y the least squares solution
MGA
- 这是一个基于多智能体的遗传算法,算法中以一个30维Rastrigin的函数(该函数有无数个局部积小点一个最小点)为例进行了演示——连续独立运行五十次,每次的解小于1e-4,使用了matcom45和C++的混合编程,请先下载后使用程序-This is a Multi-agent-based genetic algorithm with a 30-dimensional Rastrigin function (the function has numerous local small plot po
EKF
- 上研究生时写的扩展卡尔曼滤波程序(EKF),带测试例子,可编译执行-When the graduate writing program of the extended Kalman filter (EKF), with the test example, the implementation can be compiled
CodeCoverageTool
- The Code Coverage Tool (CCT) Matlab代码转化用于实时仿真的S函数。-The Code Coverage Tool (CCT) measures C statement coverage in code built as a Real-Time Workshop S-Function. It operates in conjunction with lcc (the C-Compiler that ships with the standard MATLAB in
csfunc
- Example C-file S-function for defining a continuous system. * * x = Ax + Bu * y = Cx + Du * * For more details about S-functions, see simulink/src/sfuntmpl_do-Example C-file S-function for defining a continuous system. * *
pmsm_simulink
- 基于C MEX S-函数永磁同步电机控制系统仿真建模研究-C MEX S-function based on permanent magnet synchronous motor control system simulation modeling
C-MEX-S-function
- C MEX S-function的一般格式,用c语言形式编写-C MEX S-function of general form, the form of written language with c
c-program
- main函数中结构数组a中存储了5个职员的工资信息(这里称每个职员的工资信息为一条“记录”)。sift函数的形参cond接收筛选条件字符串,函数实现从s指向数组元素开始的n个元素中筛选出所有wage符合筛选条件的记录并将这些记录复制到res指向的结构数组。函数返回res数组中存储的记录数(筛选结果)。-The main function is stored in an array of structures a five staff wages (here referred to the inf
S-Function
- s-function,支持c/c++/m文件等语言,交互性强-s-function
s-function
- matlab 仿真弹道导弹拦截来袭敌方导弹的程序,用s函数编写,既直观而且转换成c/c++很方便,可以与vc混合编程,有问题随时联系-Matlab simulation of ballistic missile intercepting the enemy s missile program, written using the s function, both intuitive and converted to c/c++ is very convenient, can be mixed w
imhistc.c
- /* * imhistc.c * * Y = IMHISTC( A, N, ISSCALED, TOP ) makes an N bin histogram of * the image matrix A. This function is written as an auxiliary to * the M-file IMHIST.M. * * This is a MEX file for MATLAB. * */
S-Function
- 详细介绍了怎么编写S函数和函数的实现。既有M文件的s函数范例,也有C语言编写的s函数范例-Details of how to prepare and implement the function S function. s existing M-file function example, there s an example of C language functions
