This is a cited article. Original version can be accessed with this link:
Creating C++ Shared Libraries and DLLs
- Building a Shared Library
- The Generated Interface
- Calling Functions in a Shared Library
- Creating and Running the Application
- Next: Using Multiple Shared Libraries
You create a shared library or DLL to add MATLAB-based functionality to an application you’re developing. You select one or more MATLAB-based functions to include in the shared library, and MATLAB Compiler generates a binary file that you link against your application. Shared libraries generated by MATLAB Compiler are compatible with the Microsoft Visual Studio development environment on Windows and with the GNU C/C++ tool suite on most UNIX platforms. The list of supported compilers changes from one release to the next; be sure to check that list before starting your project.
To see full text, please refer to the original version.