首页 | 本学科首页   官方微博 | 高级检索  
     检索      

MATLAB与C++结合复杂动态对象仿真建模方法
引用本文:周斌.MATLAB与C++结合复杂动态对象仿真建模方法[J].航空计算技术,2005,35(3):80-81,85.
作者姓名:周斌
作者单位:中国航空计算技术研究所,陕西,西安,710068
摘    要:MATLAB/S imu link是一个强大的自动控制系统工程仿真工具,但在进行复杂动态对象仿真建模时需要大量的S imu link模块的堆叠,难度之大使得实现建模上花费的时间预计占系统开发周期的大半,而且得到的仿真模块通常具有可读性差、容易出错等缺点,运行时占用大量的系统时间和内存空间,对其进行调试和修改也很困难。本文介绍了作者探寻的使用MATLAB/S imu link结合C++编写成的现成类库进行复杂对象仿真建模方法,详细论述了C++m ex函数工程创建编译的过程和利用m ex函数和S imu link S-function进行复杂动态对象整体仿真建模的思路。通过应用实践表明,这种仿真建模方法不但减少了重复劳动的代价,加速了自动控制系统设计周期,使得复杂动态对象仿真模块简洁高效,还可以起到保护数据安全和知识产权的作用。

关 键 词:MATLAB/Simulink  C++mex函数  复杂动态对象  仿真建模
文章编号:1671-654X(2005)03-0080-02
修稿时间:2005年6月20日

A Modeling Method of Complex Dynamic Plant with MATLAB and C++
ZHOU Bin.A Modeling Method of Complex Dynamic Plant with MATLAB and C++[J].Aeronautical Computer Technique,2005,35(3):80-81,85.
Authors:ZHOU Bin
Abstract:MATLAB/Simulink is a powerful design tool for automatic control engineering.But it is very hard to construct a complex dynamic plant model that need large number of Simulink units because a great potation time will be occupied to construct graphics block system other than simulating analysis.Whereas the whole graphics model is hard to read and is easy to make mistake,that can lead hard work to debug it.All above defeat show that it is not fit the MATLAB/Simulink purpose of the "quick model construct and efficient simulation ". The author study a method that s primarily compiled C++ class library to perform complex dynamic plant model.It is proofed very efficient in complex dynamic plant simulation application.
Keywords:matlab/simulink  c++ mex function  complex dynamic plant  simulation modeling
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号