期刊文献+

MATLAB程序转C代码的方法研究 被引量:4

Method Study of MATLAB Program Transforming to C Code
下载PDF
导出
摘要 通过MATLAB程序转C代码的研究与应用可以加快软件、算法从研究到实际应用的进程,提高软件、算法研发的效率。对于转C的流程、方法、注意事项以及限制等问题需要深入研究。以MATLAB2014的转C工具MATLAB Coder为基础,分析了MATLAB转C代码的细节,完整地研究了MATLAB代码转成C代码的整体流程。通过合理的转C规范,MATLAB支持常规算法和大多数工具库函数转C,保持原功能、逻辑不便。使用动态预分配内存,外置接口,简化函数等方法,使得一部分非常规算法、不支持转C或限制性MATLAB函数能够正确转化为C语言代码。 The research and application that MATLAB program transforming to C code can expedite the progress from algorithm or software research to practical application and improve the efficiency of software or algorithm development. These problems about transformation's processes, methods, points for attention, limitation and so on need to be further researched. Based on MATLAB Coder of Matlab2014 tool for transforming to C, it analyses details of MATLAB transforming to C code and its whole process. With reasonable transformation specification, MATLAB support general algorithm and most tool functions to transform to C code, which retain intrinsic function and logic. Using some methods such as dynamically pre-allocating memory, external interface and simplifying functions, it also makes a part of uncommon algorithm and MATLAB tool functions which are not support to transform to C or have transformation limitation possible to successfully transform to C language code.
出处 《价值工程》 2018年第2期182-185,共4页 Value Engineering
关键词 Matlab转C CODER 代码规范 转C流程 转C限制 Matlab transformingto C Coder code specification transformation p rocess transformation limitation
  • 相关文献

参考文献12

二级参考文献20

  • 1程铃,徐冬冬.Matlab仿真在通信原理教学中的应用[J].实验室研究与探索,2010,29(2):117-119. 被引量:77
  • 2唐洪浪.MATLAB程序优化的方法[J].洛阳师范学院学报,2005,24(5):66-68. 被引量:6
  • 3宗孔德.多抽样率信号处理[M].北京:清华大学出版社,1995..
  • 4[8]陈怀琛,吴大正,高西全.Matlab及在电子信息课程中的应用[M].北京:电子工业出版社,2006.
  • 5Stephen J. Chapman. Matlab Programming for Engineers [M] .科学出版社,2001.
  • 6涂翔云 刘玉印 刘岩.高级Visual Basic编程[M].北京:中国电力出版社,2001..
  • 7Online MATLAB. MATLABR2012a,MATLAB Coder[ EB/ OL]. http://www, mathworks, cn/products/matlab-co- der/, 2011-10-10.
  • 8Khan M U, Geihs K, Gutbrodt F, et al. Model-driven de- velopment of real-time systems with UML 2.0 and C[ C]/! Proceedings of 13th IEEE International Conference on En- gineering of Computer Based Systems. Piscataway. IEEE, 2006:33-42.
  • 9Zhao Yuqian, Gui Weihua, Chen Zhencheng. Edge detec- tion based on multi-structure elements morphology [ C ]// WCICA06. 2006:9795-9798.
  • 10陈立伟,王桐,杨蕾,等.零基础学嵌人式LinuxC编程[M].北京:机械工业出版社,2010.

共引文献15

同被引文献25

引证文献4

二级引证文献11

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部