octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Functions from Matlab C shared library utility


From: Rik
Subject: Re: Functions from Matlab C shared library utility
Date: Mon, 29 Jul 2013 09:02:06 -0700

On 07/26/2013 12:14 AM, address@hidden wrote:
> Message: 2
> Date: Fri, 26 Jul 2013 08:58:29 +0200
> From: Reza Housseini <address@hidden>
> To: "address@hidden" <address@hidden>
> Subject: Functions from Matlab C shared library utility
> Message-ID:
>       <address@hidden>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello
>
> I'm trying to implement the functions from Matlabs C shared library utility
> [1]. And I have some questions regarding this and perhaps someone can help
> me.
7/29/13

Reza,

I'm glad someone is finally taking a look at this interface.  I think all
of your ideas are on target, but there isn't much more help I can provide. 
For your point 2, Octave uses a similar conversion table with the Java
interface but it is bound up with Java and not a stand-alone piece of code.

--Rik
>
> 1. The function "libfunctions" displays the available functions in a
> library. Is there an easy way (exsisting library or program) to do such
> stuff? "nm" does not display function arguments for dynamic symbols and I
> don know from any program which can extract such information from a header
> file (probably need to write one).
>
> 2. The function "calllib" can execute functions from a shared library. Does
> there exist a conversion table of data types similar to [2]?
>
> 3. Would it make any sense to support C++ shared library with this
> approach? Definition of conversion between classes and Octave structs?
>
> 3. The function "loadlibrary" which loads library into workspace: can
> someone clarify on Matlab what the argument "@protofile" means. And also
> the Name-Value pairs "mfilename" and "thunkfilename"?
>
> Thanks for any help.
>
> Cheers Reza
>
>
>
> [1]
> http://www.mathworks.ch/ch/help/matlab/using-c-shared-library-functions-in-matlab-.html
> [2]
> http://www.mathworks.ch/ch/help/matlab/matlab_external/passing-arguments-to-shared-library-functions.html



reply via email to

[Prev in Thread] Current Thread [Next in Thread]