External Interfaces Reference Previous page   Next Page
calllib

Call function in external library

Syntax

Description

[x1, ..., xN] = calllib('libname', 'funcname', arg1, ..., argN) calls the function funcname in library libname, passing input arguments arg1 through argN. calllib returns output values obtained from function funcname in x1 through XN.

If you used an alias when initially loading the library, then you must use that alias for the libname argument.

Examples

This example calls functions from the libmx library to test the value stored in y:

See Also

loadlibrary, libfunctions, libfunctionsview, libpointer, libstruct, libisloaded, unloadlibrary


Previous page  Generic DLL Interface Functions libfunctions Next page

© 1994-2005 The MathWorks, Inc.