Getting Started with the %COMPONENT_NAME% C Shared Library

The Library Compiler in MATLAB® Compiler SDK™ creates C shared libraries that can be integrated with applications written in C. You can use this guide to set up your environment and learn about integrating the library into your application.

Location of Installed C Shared Library Files

View %COMPONENT_NAME% Files

Prerequisites

1. Install and Configure the MATLAB Runtime
Complete this step only if you have not installed the MATLAB Runtime while installing the library.
2. Verify that you have a C compiler installed.
You can use the mbuild command within MATLAB to verify whether you have a C compiler installed. For more information, see mbuild.

Compiling C Driver Applications

At the system terminal, type:
mbuild %SAMPLE1%.c %COMPONENT_NAME%.%LIB%
Learn more about mbuild

Executing C Driver Applications

At the system terminal, type:
%SAMPLE1_EXECUTE%

Additional Resources

C Shared Library Integration
C mxArray API