摘要
MATLAB是一种应用广泛的开发软件,具有极强的线性系统分析能力和强大的图形功能。VB是目前广为使用的windows编程语言,是一种面向对象的编程语言并且有着开发界面友好的特点,将二者有机结合,可以开发出复杂的,界面友好的人机交互处理软件。本文介绍在数值计算中利用VB语言中的ActiveX协议实现从VB中调用MATLAB来实现一个对温度场数据进行处理的可视化系统。方法是在VB语言的界面内,通过调用MATLAB控件来进行对MATLAB的编程,实现对二维、三维温度场的数据静态、动态、多角度的彩色显示,达到温度场数据可视化显示的目的。
MATLAB is a kind of developing tool used very extensively, having strong figure- dealing and linear system analysis functions. VB is a developing tool put out by Microsoft. It is a kind of totally object-oriented programming language and having a friendly interface. Organizing the two tools properly and complicated, software with friendly interactive in- terface may be exploited. This paper discusses the method of using ActiveX control in VB transferring MATLAB software to realize the visualization system of data in the temperature field. Programming MATLAB software in the control which belongs to MATLAB software re- alize the colorful display in two-dimension, three-dimension and dynamic temperature field, reaching the goal of showing the data in temperature field.