摘要
VB.NET是微软公司新推出的开发工具———VisualStudio.NET的一部分,它是一种完全面向对象的编程语言,能实现很多以前VB无法实现的功能,如类的继承和结构化的错误处理,并提供了强大的类库支持。Matlab是一种应用很广泛的开发工具,具有强大的图形功能,可以很方便地实现计算结果可视化,但是这两者无法直接调用。文中介绍了在VB.NET中利用ActiveX自动化技术应用和操作Matlab的方法,原理是利用VB.NET作为自动控制器,控制和使用作为服务器的Matlab,实现了Matlab和VB.NET的混合编程,并基于此方法实现了对三维数据的可视化。
VB.NET is a part of Visual Studio.NET:the new developing tool put out by Microsoft.It is a kind of totally object -oriented programming language, which is able to realize a lot of functions that VB couldn't realize before, such as class-inherit and dealing with mistake of structurization, and it offers the strong support to classes. Matlab is a kind of developing tool used very extensively, having strong figure -dealing functions, and being able to realize the visualization of the result of calculation very conveniently.But the two languages aren't able to transfer directly. The paper introduced the method of operating Matlab with the technology of ActiveX in VB.NET.The principle of the method was to utilize VB.NET as the automatic controller to control and use Matlab as a server.It realized mixing programming of Matlab and VB NET. One example was given to illustrate the visualization of 3D data based on the method.
出处
《微机发展》
2005年第5期66-67,71,共3页
Microcomputer Development