Introduction
Before You Begin
Upgrading from Previous Compiler Releases
Differences Between Compiler Releases
Uses of the MATLAB Compiler
Wrapper Files
Stand-Alone Applications
Libraries
Builder Products
Quick Start
Compiling a Stand-Alone Application
Compiling a Shared Library
Testing Components on Development Machine
Deploying Components to Other Machines
Limitations and Restrictions
Compiling MATLAB and Toolboxes
MATLAB Code
Stand-Alone Applications
Fixing Callback Problems: Missing Functions
Finding Missing Functions in an M-File
Suppressing Warnings on UNIX
No MCR Versioning on HP-UX
MATLAB Compiler Licensing
Deployed Applications
Using MATLAB Compiler Licenses for Development
Examples
Installation and Configuration
System Requirements
Supported Third-Party Compilers
Installation
Installing the MATLAB Compiler
Installing an ANSI C or C++ Compiler
Configuration
Introducing the mbuild Utility
Configuring an ANSI C or C++ Compiler
Special Compiler Notes
Options Files
Locating the Options File
Changing the Options File
Compilation Process
Overview of the MATLAB Compiler Technology
MATLAB Component Runtime
Component Technology File
Build Process
Input and Output Files
Stand-Alone Executable
C Shared Library
C++ Shared Library
Deployment Process
Overview
Porting Generated Code to a Different Platform
Extracting a CTF Archive without Executing the Component
User Interaction with the Compilation Path
Working with the MCR
Installing the MCR on a Deployment Machine
Installing the MCR and MATLAB on the Same Machine
Deploying a Stand-Alone Application on a Network Drive
Working with mcc
Command Overview
Compiler Options
Setting Up Default Options
Using Macros to Simplify Compilation
Understanding a Macro Option
Using Pathnames
Using Bundle Files
Using Wrapper Files
Main File Wrapper
C Library Wrapper
C++ Library Wrapper
Interfacing M-Code to C/C++ Code
C Example
Using Pragmas
Using feval
Script Files
Converting Script M-Files to Function M-Files
Including Script Files in Deployed Applications
Compiler Tips
Calling Built-In Functions from C or C++
Calling a Function from the Command Line
Using MAT-Files in Deployed Applications
Running Deployed Applications
Compiling a GUI That Contains an ActiveX Control
Debugging MATLAB Compiler-Generated Executables
Stand-Alone Applications
Introduction
C Stand-Alone Application Target
Compiling the Application
Testing the Application
Deploying the Application
Running the Application
Coding with M-Files Only
Example
Mixing M-Files and C or C++
Simple Example
Advanced C Example
Libraries
Introduction
C Shared Library Target
C Shared Library Wrapper
C Shared Library Example
Calling a Shared Library
C++ Shared Library Target
C++ Shared Library Wrapper
C++ Shared Library Example
MATLAB Compiler-Generated Interface Functions
Structure of Programs That Call Shared Libraries
Library Initialization and Termination Functions
Print and Error Handling Functions
Functions Generated from M-Files
Functions -- Categorical List
Pragmas
Command Line Tools
MATLAB Compiler Quick Reference
Common Uses of the Compiler
Create a Stand-Alone Application
Create a Library
mcc
Error and Warning Messages
Compile-Time Errors
Warning Messages
Depfun Errors
MCR/Dispatcher Errors
XML Parser Errors
Depfun-Produced Errors
Troubleshooting
mbuild
MATLAB Compiler
C++ Utility Library Reference
Primitive Types
Utility Classes
mwString Class
Constructors
Methods
Operators
mwException Class
Constructors
Methods
Operators
mwArray Class
Constructors
Methods
Operators
Static Methods
Printable Documentation (PDF)
Product Page (Web)