由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - 有人用过Matlab的Compiler吗?或者是否有什么工具能把Matlab程序转成C, C++?
相关主题
icc complier is expensive yar~~谁给说说fortran的几个标准
fortran还是matlab?高手用过matlab compiler没?求助
where to down a standard Fortran90 complier?请问怎么让matlab能在没装matlab的高性能计算机上运行?
matlab改成C++,还用了号称史上最快的fftw,结果慢了一倍my experience,Re: 我也及问一个问题
Re: matlab和fortran计算结果不一样该相信谁[转载] unix下编译fortran 的错误太多,看不到怎么办?
求教一个Matlab fortran compiler 问题visual fortran区别6位以上的变量名吗?
Matlab跑了两天了没有反应Re: f90 and mpi
偶也问一fortran问题谁最近买国FORTRAN的COMPILER,FOR WINDOWS,请介绍一下。
相关话题的讨论汇总
话题: matlab话题: compiler话题: file话题: exe话题: 程序
进入Computation版参与讨论
1 (共1页)
o****r
发帖数: 57
1
Matlab编程很容易上手, 但运算速度很慢。主要原因是运行Matlab程序时候必须打开
Matlab软件,占用了很多系统资源。
看到Matlab网上的Matlab Compiler的介绍,它能把Matlab程序直接转成可执行文件。
不知是否有人用过这个软件,效果如何?
此外,如果不用这个Matlab compiler,是否有类似的工具可以把Matlab程序转换成C, C
++,或可执行文件?
谢谢
s**b
发帖数: 169
2
matlab运行慢是因为他是解释语言。

C

【在 o****r 的大作中提到】
: Matlab编程很容易上手, 但运算速度很慢。主要原因是运行Matlab程序时候必须打开
: Matlab软件,占用了很多系统资源。
: 看到Matlab网上的Matlab Compiler的介绍,它能把Matlab程序直接转成可执行文件。
: 不知是否有人用过这个软件,效果如何?
: 此外,如果不用这个Matlab compiler,是否有类似的工具可以把Matlab程序转换成C, C
: ++,或可执行文件?
: 谢谢

o****r
发帖数: 57
3

谢谢回帖,不过不是很关心这个细节。
不知你对这个帖子的问题有什么有帮助的回答吗?

【在 s**b 的大作中提到】
: matlab运行慢是因为他是解释语言。
:
: C

s**b
发帖数: 169
4
没有

【在 o****r 的大作中提到】
:
: 谢谢回帖,不过不是很关心这个细节。
: 不知你对这个帖子的问题有什么有帮助的回答吗?

g****y
发帖数: 199
5
the complier can wrap Matlab's m file to exe file. However, the .exe file
still need to call the matlab engine.So, the speed is the same. The reason
to use complier is to protect your copyright of the program, since people
can not access your original code.
If you want to accelerate your matlab program, you can use mex function,
which is able to run the core operation parts(time consuming parts) in the
similar speed as C or Fortran.

C

【在 o****r 的大作中提到】
: Matlab编程很容易上手, 但运算速度很慢。主要原因是运行Matlab程序时候必须打开
: Matlab软件,占用了很多系统资源。
: 看到Matlab网上的Matlab Compiler的介绍,它能把Matlab程序直接转成可执行文件。
: 不知是否有人用过这个软件,效果如何?
: 此外,如果不用这个Matlab compiler,是否有类似的工具可以把Matlab程序转换成C, C
: ++,或可执行文件?
: 谢谢

s**b
发帖数: 169
6
compiling m function to exe file can speed up your code.
In my case, I observe it is about 3 times faster than m file.
But not sure in other cases.

【在 g****y 的大作中提到】
: the complier can wrap Matlab's m file to exe file. However, the .exe file
: still need to call the matlab engine.So, the speed is the same. The reason
: to use complier is to protect your copyright of the program, since people
: can not access your original code.
: If you want to accelerate your matlab program, you can use mex function,
: which is able to run the core operation parts(time consuming parts) in the
: similar speed as C or Fortran.
:
: C

g****y
发帖数: 199
7
anyway,based on my own experience, the difference is not much:), if you cons
idering 10 to 100 times speed acceleration by mixing C/Fortran and Matlab.
another bad thing for matlab exe file is that should be distributed with the
mrcinstaller, which is too huge, if the destination machine doesn't have Ma
tlab.Also the version of the Matlab in the origin and destination machine ne
ed to be compatible.

【在 s**b 的大作中提到】
: compiling m function to exe file can speed up your code.
: In my case, I observe it is about 3 times faster than m file.
: But not sure in other cases.

s**b
发帖数: 169
8
your comment is informative.
3x.

cons
the
Ma
ne

【在 g****y 的大作中提到】
: anyway,based on my own experience, the difference is not much:), if you cons
: idering 10 to 100 times speed acceleration by mixing C/Fortran and Matlab.
: another bad thing for matlab exe file is that should be distributed with the
: mrcinstaller, which is too huge, if the destination machine doesn't have Ma
: tlab.Also the version of the Matlab in the origin and destination machine ne
: ed to be compatible.

l***g
发帖数: 1035
9
embedded matlab

C

【在 o****r 的大作中提到】
: Matlab编程很容易上手, 但运算速度很慢。主要原因是运行Matlab程序时候必须打开
: Matlab软件,占用了很多系统资源。
: 看到Matlab网上的Matlab Compiler的介绍,它能把Matlab程序直接转成可执行文件。
: 不知是否有人用过这个软件,效果如何?
: 此外,如果不用这个Matlab compiler,是否有类似的工具可以把Matlab程序转换成C, C
: ++,或可执行文件?
: 谢谢

1 (共1页)
进入Computation版参与讨论
相关主题
谁最近买国FORTRAN的COMPILER,FOR WINDOWS,请介绍一下。Re: matlab和fortran计算结果不一样该相信谁
老板的程序在unix上运行没问题求教一个Matlab fortran compiler 问题
benchmark of ifc and g77Matlab跑了两天了没有反应
Re: a question about fortran偶也问一fortran问题
icc complier is expensive yar~~谁给说说fortran的几个标准
fortran还是matlab?高手用过matlab compiler没?求助
where to down a standard Fortran90 complier?请问怎么让matlab能在没装matlab的高性能计算机上运行?
matlab改成C++,还用了号称史上最快的fftw,结果慢了一倍my experience,Re: 我也及问一个问题
相关话题的讨论汇总
话题: matlab话题: compiler话题: file话题: exe话题: 程序