三种C Sharp调用Matlab方式的研究  被引量:4

Comparative Research of Integrating C Sharp with Matlab

在线阅读下载全文

作  者:秦春影[1] 喻晓锋[1] 仝海燕[1] 唐淑萍[1] 

机构地区:[1]亳州师范高等专科学校计算机系,安徽亳州236800

出  处:《菏泽学院学报》2012年第2期35-38,共4页Journal of Heze University

基  金:安徽省自然科学基金资助项目(KJ2010B123);国家自然科学基金资助项目(31160203;31100756)

摘  要:常用的程序设计语言在统计方面存在不足,Matlab可以弥补这方面的不足,但Matlab在界面设计、运行效率上无法令人满意.在实际的项目开发中,特别当项目的主要功能是统计分析、模拟仿真时,一方面要有友好的用户界面,另一方面又要进行统计分析、模拟仿真,因而要将Matlab与程序设计语言进行集成开发.C Sharp是流行的程序设计语言,研究了C Sharp与Matlab集成的三种方式:C Sharp直接访问Matlab内置函数、构建.NET程序集和创建C语言共享库,通过比较可知:创建C语言共享库运行效率最高,但是稳定性不好;直接访问Matlab内置函数运行稳定,但是效率最低;构建.NET程序集方式运行稳定,并且效率较高.综合考虑,在实际应用中,采用构建.NET程序集的方式来集成C Sharp和Matlab应优先考虑.General programming languages are lack of statistics function, but Matlab can remedy this shortage. The shortages of Matlab are interface design and running efficiency. In real projects developing, especially when their functions are statistics, analyze and emulate. On the one hand, a friendly interface is needed; on the other hand, statistics and emulate are needed. In this situation, integrating C Sharp with Matlab is a good choice. C Sharp is a very popular programming language. Three ways of integrating C Sharp with Matlab have been studying: C Sharp direcdy access Matlab built - in functions, constructing . net assemblies and create C language shared li- brary. The comparison shows that create C language shared library running efficiency is the highest, but stability is bad ; Direcdy access Matlab built - in function is stable, but efficiency minimum ; Building . net assemblies is sta- ble operation, and high efficiency. Comprehensive consideration, in real application, the way of building . net as- semblies to integrate C Sharp and Matlab should be first consideration.

关 键 词:集成 MATLAB C SHARP 

分 类 号:TP391.9[自动化与计算机技术—计算机应用技术] O244[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象