Deploying a Shared Library
Version 1.0.0.1 (6.93 KB) by
Peter Webb
Example code for "Deploying Shared Libraries" posting in the "Art of MATLAB" blog.
This example code contains the source code for an application that encrypts and decrypts messages using the Vigenere cipher. The application consists of a C++ main program and several MATLAB functions. The MATLAB functions must be built into a C++ shared library by the MATLAB Compiler (see the blog post for details).
To build and run this example, you'll need:
* MATLAB
* The MATLAB Compiler
* A C++ compiler (gcc or Visual Studio).
Cite As
Peter Webb (2026). Deploying a Shared Library (https://www.mathworks.com/matlabcentral/fileexchange/29443-deploying-a-shared-library), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- Application Deployment > MATLAB Compiler >
- Application Deployment > MATLAB Compiler SDK >
- MATLAB > External Language Interfaces > C++ with MATLAB > Call C++ from MATLAB >
Find more on MATLAB Compiler in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
