Construction of Simulink Model Based COM Components and Performance Analyses

Dai Jin-hai · Jisuanji fangzhen · 2005

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.

Read the paper · More papers on PaperTik