Labwindows/CVI 是一套面向测控领域的优秀软件开发平台;MATLAB 具有强大的数据处理函数库和多样且简易的绘图方法。本文提出的修改LabWindows/CVI 和MATLAB 的ActiveX 服务函数,并进行封装、建立动态连接库的方法,为用户实现Labwindows/CVI 共享MATLAB 的软件工具包,拓宽LabWindows/CVI 在测控领域的应用,提高编程效率提供了有益的帮助。文末给出了LabWindows/CVI 和MATLAB 混合编程的实例。关键词:LabWindows/CVI;MATLAB;混合编程;动态链接【Abstract】LabWindows/CVI is a excellent software platform to develop testing software, and MATLAB has a abundance function utility for data processing besides various and easy plotting methods. In this paper, a hybrid programming method between LabWindows/CVI and MATLAB is put forward , which is modifying ActiveX Server functions between LabWindows/CVI and MATLAB, encapsulating it into a high level interface function and building into a DLL file for reuse. This method is helpful for user to share the function in MATLAB software toolboxes in the LabWindows/CVI, to extend the application of LabWindows/CVI in the measure and control domain and to improve the efficiency of programming. At the end,a hybrid programming example is given for illustration.【Key words】LabWindows/CVI;MATLAB;Hybrid programming;Dynamic link