[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Passing a string to an external function
From: |
Stephen Eglen |
Subject: |
Passing a string to an external function |
Date: |
Fri, 5 May 2000 09:40:56 +0100 (BST) |
> I'm not a C++ programmer but I managed to write most of a wrapper function
> for an external C program, which I need to call from Octave.
Hi,
I'm not a C++ programmer either, so I tend to use the perl script
`matwrap' that does the hard work of making the C++ file for you; you
just tell it which C functions you'd like to call from Octave, along
with type declarations of those functions. I've not had any problems
with it. See: http://lnc.usc.edu/~holt/matwrap/
Stephen
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------