MATLAB to C/C++

I have written a software in MATLAB code. But I want to run it in a machine with MATLAB not installed. How is it possible? I converted it into pcode, but the file still requires MATLAB to run, if not the .m file.Moreover, my MATLAB compiler is not really working.Thanks in advance.

5 个评论

you can use a matlab coder to convert your matlab script to C/C++ code
MATLAB coder?
yes matlab coder will do.. which version of matlab you are using?
My version is R2009b
matlab coder starts with Matlab 2011a.. it doesn't wrk with 2009b

请先登录,再进行评论。

 采纳的回答

Sean de Wolski
Sean de Wolski 2013-6-21

2 个投票

You can use MATLAB Compiler to deploy your application to a standalone executable. You can then give this to anyone and they can run it without MATLAB installed (though they will have to install the free MCR).
Alternatively, you can use MATLAB Coder to generate portable C-code from your MATLAB algorithm.

4 个评论

will MATLAB compiler work with ode45?
Walter Roberson
Walter Roberson 2013-6-27
编辑:Walter Roberson 2013-6-27
Yes. I did not chase back any further than R14 but it was supported even then.
There is an error of R6034, attempt to load C runtime library without manifest. What does this mean?
Does MATLAB compiler work with Event detection in ode* ?

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 MATLAB Compiler 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by