help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Octave/MatLab to C/C++


From: Marcus Vinicius Eiffle Duarte
Subject: Re: Octave/MatLab to C/C++
Date: Mon, 24 Apr 2006 14:28:25 -0300

I never used this latest version of the Matlab Compiler. I have only Matlab 6.5 installed until today, so I only have used this older versions.

The Matlab Compiler Suite that you could use with Matlab 6.1 and 6.5 consisted of a compiler (that translated M-code into C or C++) and a bundle of libraries and headers (for the Math and the GUI backends). The Windows version came with the LCC compiler, that can compile the produced C code into standalone executables. The Unix version assumed your system had gcc or cc. The C compilers could also be MSVC, Borland C/C++ and Watcom C/C++.
I assume the latest version has, at least, the same features of the older.

By the way, the generated code was not beautiful, but readable, and I assume that creating such a compiler to translate Octave code into C code is a huge task that is not a priority of the Octave project.

On 4/24/06, Jens Ruecknagel <address@hidden> wrote:
Remi VIEUX schrieb:
> Hi everyone.
> I would like to convert a program created for MatLab
> into a standalone application ie. written in C/C++,
> and if possible, I 'd like to avoid doing it manually
> as far as possible. I know that the MatLab compiler
> can generate C/C++ code from MatLab .m files,

Does it??? As I understand it, the Matlab compiler generates a binary
file (such as a DLL) and C++ wrapper code for your m-files. This way you
won't be able to prot it on other platforms than Windows.

Read: http://www.mathworks.com/products/compiler/description1.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]