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 Commenti

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

Accedi per commentare.

 Risposta accettata

Sean de Wolski
Sean de Wolski il 21 Giu 2013

2 voti

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 Commenti

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

Accedi per commentare.

Più risposte (0)

Categorie

Prodotti

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by