As one of very important paragenesis products of MATLAB,Simulink can be regarded as a convient interactive graphics system to simulate dynamic system and a significant tool of simulation applied to various syetems. But control Systems configurated by Simulink are not able to realize the optimization of PID parameters. With the explanatory MATLAB language, there are flaws in the speed of executing codes, aspects of extendibility as well as code encapsulation. Based on the technology of COM(Component Object Model), this paper takes the control syetem configurated by Simulink as Client, and the master program interface is designed by GUI, has overcome the above insufficiency, the COM Server is developed to relize optimization of PID parameters using high-level Language C++ and the platform of VC++ 6.0. |