首页 | 本学科首页   官方微博 | 高级检索  
     检索      

三种CSharp调用Matlab方式的研究
引用本文:秦春影,喻晓锋,仝海燕,唐淑萍.三种CSharp调用Matlab方式的研究[J].菏泽学院学报,2012,34(2):35-38.
作者姓名:秦春影  喻晓锋  仝海燕  唐淑萍
作者单位:毫州师范高等专科学校计算机系,安徽毫州,236800
基金项目:基金项目:安徽省自然科学基金资助项目,国家自然科学基金资助项目
摘    要:常用的程序设计语言在统计方面存在不足,Matlab可以弥补这方面的不足,但Matlab在界面设计、运行效率上无法令人满意.在实际的项目开发中,特别当项目的主要功能是统计分析、模拟仿真时,一方面要有友好的用户界面,另一方面又要进行统计分析、模拟仿真,因而要将Matlab与程序设计语言进行集成开发.CSharp是流行的程序设计语言,研究了CSharp与Matlab集成的三种方式:CSharp直接访问Matlab内置函数、构建.NET程序集和创建C语言共享库,通过比较可知:创建C语言共享库运行效率最高,但是稳定性不好;直接访问Matlab内置函数运行稳定,但是效率最低;构建.NET程序集方式运行稳定,并且效率较高.综合考虑,在实际应用中,采用构建.NET程序集的方式来集成CSham和Matlab应优先考虑.

关 键 词:集成  Matlab  C  Sharp

Comparative Research of Integrating C Sharp with Matlab
QIN Chun-ying,YU Xiao-feng,TONG Hai-yan,TANG Shu-ping.Comparative Research of Integrating C Sharp with Matlab[J].Journal of Heze University,2012,34(2):35-38.
Authors:QIN Chun-ying  YU Xiao-feng  TONG Hai-yan  TANG Shu-ping
Institution:(Computer Department of Bozhou Normal College,Bozhou Anhui 236800,China)
Abstract: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 directly access Matlab built-in functions,constructing.net assemblies and create C language shared library.The comparison shows that create C language shared library running efficiency is the highest,but stability is bad;Directly access Matlab built-in function is stable,but efficiency minimum;Building.net assemblies is stable operation,and high efficiency.Comprehensive consideration,in real application,the way of building.net assemblies to integrate C Sharp and Matlab should be first consideration.
Keywords:integrate  Matlab  C Sharp
本文献已被 CNKI 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号