Getting Started with the %COMPONENT_NAME% C++ Shared Library (Data Array Interface)
The Library Compiler in MATLAB® Compiler SDK™ creates C++ shared libraries that can be integrated with applications written using the C++ Data Array API. It also generates sample C++ driver code that can be used to integrate and test the generated components. You can use this guide to set up your environment and run your sample driver application.
Note: Sample C++ Data Array driver code is only generated if sample MATLAB code is included during the packaging phase. Samples can be found in the folder named "samples".
Location of Installed C++ Shared Library Files
%SAMPLE_LINK%
Prerequisites
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++ Data Array Driver Applications
At the system terminal, type:
Note: You will need write permissions to the folder where you are compiling your driver application. If you do not have write permissions, copy the sample and generated component to a folder with write permissions, and then compile your driver application.
Executing C++ Data Array Driver Applications
At the system terminal, type:
%SAMPLE1_EXECUTE%
Note: If executing a sample provided with your component, the compiled sample and the component's CTF must be collocated
Additional Resources