工程数学软件matlab与常用程序语言混合编程的探讨.doc
约35页DOC格式手机打开展开
工程数学软件matlab与常用程序语言混合编程的探讨,工程数学软件matlab与常用程序语言混合编程的探讨全文35页约18000字论述翔实摘要在社会生产实际应用中经常遇到各种复杂的数据信息处理问题,需要大运算量的矩阵计算及对分析结果进行实时、直观的图形化显示。matlab是一种很受广大工程技术人员喜爱的数学工具软件,它集数值分析、矩阵运算、信号处理和图形显示于一体的高性能...
内容介绍
此文档由会员 花季永驻 发布
工程数学软件MATLAB与常用程序语言混合编程的探讨
全文35页 约18000字 论述翔实
摘要
在社会生产实际应用中经常遇到各种复杂的数据信息处理问题,需要大运算量的矩阵计算及对分析结果进行实时、直观的图形化显示。Matlab是一种很受广大工程技术人员喜爱的数学工具软件,它集数值分析、矩阵运算、信号处理和图形显示于一体的高性能数学软件,可以解决很多工程计算问题,被誉为“演算纸”式的工程计算工具.但由于它的界面功能比较弱,应用的范围比较单一,因此会使用其语言的人不多给我们开发界面友好的应用或演示系统带来不便。
现在比较流行的常用程序语言,诸如VB、VC++,会使用的人非常多。但些常用程序语言缺乏专门用于工程计算的类库和函数。用VB、VC++来解决相应的工程计算问题,则要要手工编写这类代码,编程量比较大。而Matlab提供大量的函数库、工具箱,几乎涵盖了所有的工程计算领域,如果将Matlab强大的计算功能与VB、VC++在友好的图形用户界面开发方面的优势结合起来,可以为科研工作和工程应用提供有力的技术支持,实现应用系统的无缝集成,对于有效缩短开发周期、提高开发效率、优化系统性能,少了设计算法的时间,降低了编程难度是十分有意义的。论文主要探讨可能在VB、VC++中集成Matlab的的方法,附有相应的参考应用代码,最后还给出了在实际工作中应用本文方法解决问题的一些实例。
关键字:混合编程,Matlab调用,接口引擎,DLL
ABSTRACT
The graphization frequently running into the various complicated data information processing questions in the society producing practicality application, that the matrix of operation capacity counts and to analyses the result to be in progress the real time greatly and directly perceived shows. Matlab is one kind of mathematics tool software that is popularly in the engineers and technicians who like it very much, and it can make the numerical analysis and matrix operation, signal processing and the graphic display in high performance
mathematics software of an organic whole, can solve a lot of engineering computation issues, and praised " performs mathematical calculations the paper " type engineering computation tool. Because the fact that its programminginterface function is fairly weaker, the scope of application is fairly more single, therefore how the person of meeting his language of use does not develop the friendly application of interface or demonstrates the inconvenience that the system brings to us.
Person which such as VB and VC++, can be used is very many to the fairly more popular procedure language in common use now. But some procedure in common use languages are short of kind class libraries and function that is used in the engineering mathematics computation specially. The corresponding engineering computation issue can be solved with VB and VC++, but in order handwork to compile this kind of code, the workload is fairly bigger.
And Matlab provides the mass function class libraries and toolbox, and almost contains to cover all engineering computation field, if the superiority aspect calculation function big and powerful with Matlab and VB and VC++'s graph user interface development close friend combines, can apply and provide the strong technology support for scientific research work and the engineering, and realizes the integration not having the seam of application system, and as for effectively shortens development period, raises the development efficiency and optimizes the systematic performance, the time of few design algorithm be reduced compiling the range degree of difficulty very to have the meaning. The method that thesis was chiefly inquired into probably in VB and VC++ the integrated Matlab had the corresponding reference application code, and was finally still given out applying some living examples that this text, article, etc. method was solved the question in real work.
The keyword: Mix programing compiler engine DLL
目录
第一章 绪论
1.1 毕业设计课题来源和简介
1.1.1工程设计软件Matlab特点分析
1.1.2 Matlab与高级语言的混合编程问题
1.2 毕业设计进度及工作内容
第二章 混合编程的具体实现方法
2.1 Matlab与其他语言的混合编程的基本思路及实现方法的简介
2.2 通过调用Matlab的引擎接口
2.2.1 借助DDE技术
2.2.2借助Matlab的ActiveX部件,
2.3 转换Matlab的程序-M文件为其他语言所用
2.3.1.将.m文件编译成*.dll文件嵌入到程序中。
2.3.2 将M文件直接编译成.EXE文件。
2.3.3 将Matlab程序编译成C/C++源文件并嵌入VC++;
2.3.4 利用Mideva工具软件来转换M文件
2.4 利用MatrixVB
第三章 总结
3.2混合编程的小结
3.1混合编程的一些常见问题FAQ
第四章 心的体会
致谢
参考文献
参考文献
数学建模简明教程 作者:袁震东
出版社:华东师范大学出版社
C++程序设计 作者:胡学龙
出版社:机械工业出版社
Visual Basic 6.0 入门与提高 作者:张树兵
出版社:清华大学出版社
全文35页 约18000字 论述翔实
摘要
在社会生产实际应用中经常遇到各种复杂的数据信息处理问题,需要大运算量的矩阵计算及对分析结果进行实时、直观的图形化显示。Matlab是一种很受广大工程技术人员喜爱的数学工具软件,它集数值分析、矩阵运算、信号处理和图形显示于一体的高性能数学软件,可以解决很多工程计算问题,被誉为“演算纸”式的工程计算工具.但由于它的界面功能比较弱,应用的范围比较单一,因此会使用其语言的人不多给我们开发界面友好的应用或演示系统带来不便。
现在比较流行的常用程序语言,诸如VB、VC++,会使用的人非常多。但些常用程序语言缺乏专门用于工程计算的类库和函数。用VB、VC++来解决相应的工程计算问题,则要要手工编写这类代码,编程量比较大。而Matlab提供大量的函数库、工具箱,几乎涵盖了所有的工程计算领域,如果将Matlab强大的计算功能与VB、VC++在友好的图形用户界面开发方面的优势结合起来,可以为科研工作和工程应用提供有力的技术支持,实现应用系统的无缝集成,对于有效缩短开发周期、提高开发效率、优化系统性能,少了设计算法的时间,降低了编程难度是十分有意义的。论文主要探讨可能在VB、VC++中集成Matlab的的方法,附有相应的参考应用代码,最后还给出了在实际工作中应用本文方法解决问题的一些实例。
关键字:混合编程,Matlab调用,接口引擎,DLL
ABSTRACT
The graphization frequently running into the various complicated data information processing questions in the society producing practicality application, that the matrix of operation capacity counts and to analyses the result to be in progress the real time greatly and directly perceived shows. Matlab is one kind of mathematics tool software that is popularly in the engineers and technicians who like it very much, and it can make the numerical analysis and matrix operation, signal processing and the graphic display in high performance
mathematics software of an organic whole, can solve a lot of engineering computation issues, and praised " performs mathematical calculations the paper " type engineering computation tool. Because the fact that its programminginterface function is fairly weaker, the scope of application is fairly more single, therefore how the person of meeting his language of use does not develop the friendly application of interface or demonstrates the inconvenience that the system brings to us.
Person which such as VB and VC++, can be used is very many to the fairly more popular procedure language in common use now. But some procedure in common use languages are short of kind class libraries and function that is used in the engineering mathematics computation specially. The corresponding engineering computation issue can be solved with VB and VC++, but in order handwork to compile this kind of code, the workload is fairly bigger.
And Matlab provides the mass function class libraries and toolbox, and almost contains to cover all engineering computation field, if the superiority aspect calculation function big and powerful with Matlab and VB and VC++'s graph user interface development close friend combines, can apply and provide the strong technology support for scientific research work and the engineering, and realizes the integration not having the seam of application system, and as for effectively shortens development period, raises the development efficiency and optimizes the systematic performance, the time of few design algorithm be reduced compiling the range degree of difficulty very to have the meaning. The method that thesis was chiefly inquired into probably in VB and VC++ the integrated Matlab had the corresponding reference application code, and was finally still given out applying some living examples that this text, article, etc. method was solved the question in real work.
The keyword: Mix programing compiler engine DLL
目录
第一章 绪论
1.1 毕业设计课题来源和简介
1.1.1工程设计软件Matlab特点分析
1.1.2 Matlab与高级语言的混合编程问题
1.2 毕业设计进度及工作内容
第二章 混合编程的具体实现方法
2.1 Matlab与其他语言的混合编程的基本思路及实现方法的简介
2.2 通过调用Matlab的引擎接口
2.2.1 借助DDE技术
2.2.2借助Matlab的ActiveX部件,
2.3 转换Matlab的程序-M文件为其他语言所用
2.3.1.将.m文件编译成*.dll文件嵌入到程序中。
2.3.2 将M文件直接编译成.EXE文件。
2.3.3 将Matlab程序编译成C/C++源文件并嵌入VC++;
2.3.4 利用Mideva工具软件来转换M文件
2.4 利用MatrixVB
第三章 总结
3.2混合编程的小结
3.1混合编程的一些常见问题FAQ
第四章 心的体会
致谢
参考文献
参考文献
数学建模简明教程 作者:袁震东
出版社:华东师范大学出版社
C++程序设计 作者:胡学龙
出版社:机械工业出版社
Visual Basic 6.0 入门与提高 作者:张树兵
出版社:清华大学出版社