Re: How can I interface with octave with C++?
Andreas Weber <[email protected]>
| Newsgroups | gmane.comp.gnu.octave.general |
|---|---|
| Message-ID | <[email protected]> |
Am 09.02.21 um 09:57 schrieb posadasarraez: > I need load that file in a C++ program and > I wonder if is there any example code or something that could help me. Hi Miguel, there is an example in the source tarball: examples/code/embedd.cc which shows howto call GNU octave from C++. Keep in mind that you link against GNU Octave and thus your project needs to be GPL compatible. If you just want to read a .mat file (and not doing any calculations in GNU octave) you might have a look at something like https://github.com/tbeu/matio -- Andy