| MATLAB Compiler | ![]() |
C Library Wrapper
The -l option, or its equivalent -W lib:libname, produces a C library wrapper file. This option produces a shared library from an arbitrary set of M-files. The generated header file contains a C function declaration for each of the compiled M-functions. The export list contains the set of symbols that are exported from a C shared library.
| Note You must generate a library wrapper file when calling any Compiler-generated code from a larger application. |
| Main File Wrapper | C++ Library Wrapper | ![]() |
© 1994-2005 The MathWorks, Inc.