[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How do I link an installed C library to Octave to create new, Octave
Kai Torben Ohlhus
Re: How do I link an installed C library to Octave to create new, Octave callable functions?
Thu, 6 Aug 2020 11:11:55 +0900
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
On 8/6/20 12:07 AM, babelproofreader wrote:
> The installed library is ta-lib <https://sourceforge.net/projects/ta-lib/>
> which, on my Linux system, consists of five header files in the directory
> /usr/include/ta-lib. Over on the MATLAB fileexchange
> a user has provided a compileMex.m script to link/compile, with a typical
> line such as
> mex TA_ADOSC.c -I"../src/TA_COMMON/" -I"../include/" -L"../src/.libs/"
> Basically my question is "What is the equivalent Octave 'mkoctfile' command
> for the above MATLAB mex command?"
Octave has a "mex" wrapper script for "mkoctfile" . Basically you do
not have to care about just executing his code. Please keep in mind,