MATLAB to C/C++

10 views (last 30 days)
Sarah Ghosh
Sarah Ghosh on 21 Jun 2013
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 Comments
Sarah Ghosh
Sarah Ghosh on 21 Jun 2013
My version is R2009b
Chandrasekhar
Chandrasekhar on 23 Jun 2013
matlab coder starts with Matlab 2011a.. it doesn't wrk with 2009b

Sign in to comment.

Accepted Answer

Sean de Wolski
Sean de Wolski on 21 Jun 2013
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 Comments
Sarah Ghosh
Sarah Ghosh on 28 Jun 2013
There is an error of R6034, attempt to load C runtime library without manifest. What does this mean?
Sarah Ghosh
Sarah Ghosh on 1 Jul 2013
Does MATLAB compiler work with Event detection in ode* ?

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Coder in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!