User`s guide
C Shared Library Target ........................... 7-4
C Shared Library Wrapper
.......................... 7-4
C Shared Library Example
.......................... 7-4
Calling a Shared Library
........................... 7-11
C++ Shared L ibrary Target
......................... 7-17
C++ Shared Library Wrapper
........................ 7-17
C++ Shared Library Example
....................... 7-17
MATLAB Compiler Generated Interface Functions
... 7-23
Functions in the Shared Library
..................... 7-23
Type of Application
................................ 7-23
Structure of Programs That Call Shared Libraries
...... 7-25
Library Initializ ation and Termination F un ctio ns
....... 7-25
Print and Error Handling Functions
.................. 7-27
Functions Generated from M-Files
................... 7-28
Using C/C++ Shared Libraries on Mac OS X
.......... 7-32
About Memory M anagement and Cleanup
........... 7-38
Overview
........................................ 7-38
Passing mxArrays to Shared Libraries
................ 7-38
Troubleshooting
8
mbuild ............................................ 8-2
MATLAB Compiler
................................. 8-4
Deployed Applications
............................. 8-8
x Contents