|
From: | Andreas Weber |
Subject: | Re: How can I interface with octave with C++? |
Date: | Tue, 9 Feb 2021 16:28:42 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 |
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.ccwhich 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
[Prev in Thread] | Current Thread | [Next in Thread] |