[转][Cited]Creating C++ Shared Libraries and DLLs

使用MATLAB创建C++共享库和DLL

This is a cited article. Original version can be accessed with this link:

http://blogs.mathworks.com/loren/2011/02/03/creating-c-shared-libraries-and-dlls/

Creating C++ Shared Libraries and DLLs

Contents

A previous post demonstrated how to use MATLAB Compiler to create standalone executables. In this article, I’ll demonstrate how to use MATLAB Compiler to create C and C++ shared libraries or DLLs.

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.

Advertisements
  1. 留下评论

Log in or fill out contact info to leave a reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: