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

基于Simulink模型的COM组件及其性能分析
引用本文:李连军,戴金海. 基于Simulink模型的COM组件及其性能分析[J]. 计算机仿真, 2005, 22(9): 95-98
作者姓名:李连军  戴金海
作者单位:国防科技大学航天与材料工程学院,湖南 长沙 410073
摘    要:
MATLAB/Simulink提供了友好的可视化建模界面以及大量的通用模块,赢得广大用户的青睐,但其较低的执行效率及不支持分布式计算使其在复杂动力学问题中的应用受到了限制.为提高执行效率及方便系统集成,同时又尽量保持Simulink模型原有的灵活性,该文结合RTW(Real Time Workshop)工具探讨并演示了将Simulink模型快速转换为COM组件的技术途径,并结合卫星姿态动力学仿真实例,针对所生成的组件,分别就进程内服务器、本地进程外服务器和远程服务器三类进程模型以及连续/单步两种运行模式下的性能进行了分析,试验数据说明此方法可以大大提高执行效率.

关 键 词:建模  仿真  性能分析
文章编号:1006-9348(2005)09-0095-04
修稿时间:2004-06-09

Construction of Simulink Model Based COM Components and Performance Analyses
LI Lian-jun,DAI Jin-hai. Construction of Simulink Model Based COM Components and Performance Analyses[J]. Computer Simulation, 2005, 22(9): 95-98
Authors:LI Lian-jun  DAI Jin-hai
Abstract:
With its friendly modeling interface and the large numbers of block sets and toolboxes,Matlab/Simulink has been accepted by more and more users.But a fly in the ointment is its low run time efficiency.At the same time,distributed computation is not supported.Thus,the tool's application in solving complex dynamic problems is limited.A methodology is developed in this paper to overcome these limitations.According to this methodology,a Simulink model is firstly complied into C/C codes using the RTW(Real Time Workshop) tool.Then a component that follows the Microsoft COM criterions is constructed on the basis of the generated codes.As an example,a simulation model of satellite attitude control dynamics is introduced.And the performance analyses are presented for different server models,viz.in-process server,local server and remote server,respectively,as well as different running modes,continuous vs.stepping.The results show that the executive efficiency is greatly improved.
Keywords:Modeling  Simulation  Performance analysis  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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