[Scilab-users] Interfacing to third party DLLs

Tim Wescott tim at wescottdesign.com
Sun Jan 8 02:02:00 CET 2017


On Sat, 2017-01-07 at 22:01 +0000, James Holland wrote:
> I'm new to Scilab but I have some experience with MATLAB. I'm trying
> to port some code that calls functions in a third party DLL. From
> what I've read I can't do this if the function returns a value
> however that article was a couple of years old, is there now an
> equivalent of loadlibrary? I have seen comments referring to the
> API_Scilab but that seems to be only for calling Scilab functions.
> TYI
> James 
> 

I don't know if there's a better way, but you could always write C
functions using the Scilab API that talk to the DLL.

It'd be a pain, and it would be nice if someone would make it more 
painless.  But -- the possibility is there.

--

Tim Wescott
www.wescottdesign.com
Control & Communications systems, circuit & software design.
Phone: 503.631.7815
Cell:  503.349.8432






More information about the users mailing list