|
From: | pavan kumar |
Subject: | Re: Re: conversion of Octave code into C code |
Date: | Fri, 04 Feb 2011 09:55:13 +0530 |
---------- Original message ----------
From:"Andy Buckle"< address@hidden >
Date: 3 Feb 11 14:20:12
Subject: Re: conversion of Octave code into C code
To: pavan kumar <address@hidden>
Cc: address@hidden
On Thu, Feb 3, 2011 at 6:23 AM, pavan kumar <address@hidden> wrote:
> Hi,
>
> I need to convert my Octave code into C code to use it in my application.
> Ple ase let me know how should I do this.
>
> Regards,
> Pavan
http://www.gnu.org/software/octave/doc/interpreter/Oct_002dFiles.html#Oct_002dFiles
Use oct files. You write C++, and can call the compiled result (and
oct file) from Octave. It is possible to write c++ and use mostly c.
You will need to learn some C++ to use octave's API.
I believe there is a MEX interface too, which may have some
disadvantages. I have not used this myself.
--
/* andy buckle */
[Prev in Thread] | Current Thread | [Next in Thread] |