登录
首页 » Matlab » 将一个m文件转成c /cpp文件并在VC中进行编译。这种方法有个烦人的地方,每次你都需要把matlab生成的一 大堆c和h文件考到vc中,比如我读入一副图片先做...

将一个m文件转成c /cpp文件并在VC中进行编译。这种方法有个烦人的地方,每次你都需要把matlab生成的一 大堆c和h文件考到vc中,比如我读入一副图片先做...

于 2022-06-03 发布 文件大小:1.72 kB
0 115
下载积分: 2 下载次数: 1

代码说明:

将一个m文件转成c /cpp文件并在VC中进行编译。这种方法有个烦人的地方,每次你都需要把matlab生成的一 大堆c和h文件考到vc中,比如我读入一副图片先做膨胀,再腐蚀,再进行小波变换,最后 显示。这样一个程序会生成大概150多个文件,每次都要拷贝这些文件很不方便。我试着用 了另外一种方法,可以简化这些工作。那就是不生成cpp文件交给VC去编译,而是直接在m atlab中生成一个dll交给VC去链接即可。这样无论matlab生成多少文件,都只需要拷贝三 个文件即可。 -m to a document conversion c/cpp files and compile VC. Such a method is a nagging place every time you need Matlab has generated a lot of c and h vc document examination, for example, I read a photo, first expansion, and corrosion, further wavelet transform, the last show. Such a procedure will probably generate more than 150 documents, each copy of these documents must be very inconvenient. I tried another kind of approach can simplify their work. It is not generating cpp documents to the VC to compile, but m atlab directly in the formation of a dll to the VC to link. No matter how many documents generated Matlab, only three need to copy documents.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • simulink1
    simulink的例子 包括源 接收器等 很多 很全哦(simulink examples include the source of the receiver is wide Oh, and many other)
    2009-02-07 11:39:10下载
    积分:1
  • PED
    多种格式求解偏微分方程,有迎风格式,lax-wendorff格式等(A variety of formats to the solution of partial differential equations)
    2012-05-13 11:17:39下载
    积分:1
  • code
    ai prolog examples ai prolog examples ai prolog examples ai prolog examples ai prolog examples (ai prolog examples)
    2013-11-14 20:26:39下载
    积分:1
  • color bar
    主要是交通行业的时空矩阵的3维热力图表达方式,不同检测器与不同时间段的流量作为颜色的第三位导入,热力图调整颜色表达更清晰(mianly used for transportation engineering. It can plot the three dimension of the real traffic situation, including different temporal and spatial. the code also can modify the parameter of the colorbar.)
    2017-09-18 09:55:43下载
    积分:1
  • 汽车二自由度转向建模
    汽车二自由度模型,通过输入转向角度,观察车辆的响应,包括车辆的二自由度系统动力学模型。(Two-Degree-of-Freedom Model of Automobile)
    2021-01-19 10:58:42下载
    积分:1
  • 改进的差分进化算法,JADE
    JADE是一种十分好用的改进的差分进化算法,能够很方便的与问题结合,计算结果稳定,求解精度高,能够用于各种优化求解问题。能够用于借鉴,进行差分进化算法的改进。
    2022-01-22 13:46:50下载
    积分:1
  • MATLABpractice
    战胜matlab比做练习题,非常有用的学习资料,用它学习matlab,从入门到精通,面面俱到(Matlab exercises to overcome than done, a very useful learning materials, use it to learn matlab, from entry to the master, everything)
    2008-04-17 17:17:47下载
    积分:1
  • m
    说明:  m序列发生器及其自相关 m序列构成的信号(矩形脉冲) m序列sinc成形信号的自相关(m-sequence generator and its associated m-sequences formed from the signal (rectangular pulse) m sinc sequence forming signal autocorrelation)
    2011-06-24 18:31:56下载
    积分:1
  • dyzbhg
    对matlab工具箱中的多元逐步回归算法参数表现更明确(Matlab toolbox to the stepwise multiple regression algorithm performance parameters more clearly)
    2007-03-27 10:56:07下载
    积分:1
  • cum3est
    通过输入相关参数,实现三阶累积量的求法。从而避免复杂的计算过程。(By input parameters, the third order cumulant method. To avoid complex calculation process. )
    2013-08-03 11:11:28下载
    积分:1
  • 696518资源总数
  • 106222会员总数
  • 14今日下载