地震记录处理的一种新方法
详细信息 本馆镜像全文    |  推荐本文 | | 获取馆网全文
摘要
介绍了M icrosoftV isual C++(VC++)和M atlab相结合开发地震记录处理软件的一种新方法。VC++和M atlab相结合开发地震记录处理软件,减轻了编程人员的工作量,提高了软件的开发效率和处理能力,为此类软件的开发提供了一种方便灵活的实现方法。通过一简单地震记录处理程序的三种不同实现途径,详细讲述了VC++和M atlab的编译环境。三种不同实现途径分别是:(1)VC++中直接调用M atlab C++数学图形函数库生成独立可执行程序;(2)VC++调用M程序生成的C/C++代码生成独立可执行程序;(3)VC++调用M文件转换成的DLL(动态链接库)生成可执行程序。文章还对三种实现途径进行了优缺点的比较,为开发人员在具体开发时提供参考。
This paper introduces a new method that combines Microsoft Visual C++(VC++)and Matlab to process earthquake records.The merits of VC++ and Matlab are integrated to develop earthquake record processing software that reduces the programmers' work load,enhances the software handling ability and development efficiency,and provides a convenient method.How to configure the compiled environment of VC++ and Matlab is specified through a simple example.There are three ways to realize this new method:(1) application of Matlab C++ math and graph library in VC++ environment;(2) application of C/C++ code generated from M program in VC++ environment;(3) application of DLL compiled from M program in VC++ environment.Finally,the advantages and disadvantages of these three methods are discussed.
引文
[1]刘晓华.精通MFC[M].北京:电子工业出版社,2003.80-83,225-238.
    [2]董长虹,余啸海.Matlab接口技术与应用[M].北京:国防工业出版社,2003.74-84.
    [3]刘维.2005.精通Matlab与C/C++混合程序设计[M].北京:北京航空航天大学出版社,2005.24,101-108,278-284.
    [4]The MathW orks,Inc.MATLAB C++Math L ibrary Use’rs Gu ide[R].The MathW orks,Inc;2000.5-11,66,133-135,166,172.
    [5]The MathW orks,Inc.MATLAB Comp ilerUse’rs Gu ide[R].The MathW orks,Inc;2005.

版权所有:© 2023 中国地质图书馆 中国地质调查局地学文献中心