Getting Started

   What Is MATLAB Compiler?
      Overview of MATLAB Compiler
      What Is the Deployment Tool?

   How Does MATLAB Compiler Work?
      MATLAB Compiler Generated Application or Library
      Wrapper Files
      Component Technology File (CTF)

   Before You Begin
   Using the GUI to Create and Package a Deployable Component
   Magic Square Example
   Using the mcc Command
   Developing and Testing Components on a Development Machine
      Packaging your Software
      Replacement of MCRInstaller.zip and BUILDMCR Functionality
      Creating a Package for Windows Users
      Creating a Package for Users Who Do Not Use Windows
      Configuring the Development Environment by Installing the MCR

   For More Information

Examples

Installation and Configuration

   Requirements
      System Requirements
      Supported Third-Party Compilers

   Installation
      Installing MATLAB Compiler
      Installing an ANSI C or C++ Compiler

   Configuration
      About the mbuild Utility
      Configuring an ANSI C or C++ Compiler

   Supported Compiler Restrictions
   Options Files
      Locating the Options File
      Changing the Options File

Compilation Process

   Overview of MATLAB Compiler Technology
      MATLAB Component Runtime
      Component Technology File
      Build Process

   Input and Output Files
      Standalone Executable
      C Shared Library
      C++ Shared Library

Deployment Process

   Overview
   Deploying to Programmers
      Steps by the Programmer to Deploy to Programmers
      What Software Does a Programmer Need?

   Deploying to End Users
      Steps by the Programmer to Deploy to End Users
      What Software Does the End User Need?
      Using Relative Paths with Project Files
      Porting Generated Code to a Different Platform
      Extracting a CTF Archive Without Executing the Component
      The Dependency Analysis Function (Depfun) and User Interaction with the Compilation Path

   Working with the MCR
      Understanding the MCR
      Installing the MCR and MATLAB on the Same Machine
      Installing Multiple MCRs on the Same Machine

   Deploying a Standalone Application on a Network Drive
   MATLAB Compiler Deployment Messages
   Using MATLAB Compiler Generated DLLs in Windows Services

Compiler Commands

   Command Overview
      Compiler Options

   Using Macros to Simplify Compilation
      Macro Options
      Understanding a Macro Option

   Using Pathnames
   Using Bundle Files
   Using Wrapper Files
      What are Wrapper Files
      Main File Wrapper
      C Library Wrapper
      C++ Library Wrapper

   Interfacing M-Code to C/C++ Code
      Overview
      C Example

   Using Pragmas
      Using feval
      Example: Using %#function

   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
      Recommended Location of .CTF Files
      Compiling a GUI That Contains an ActiveX Control
      Debugging MATLAB Compiler Generated Executables
      Deploying Applications That Call the Java Native Libraries
      Locating .fig Files in Deployed Applications
      Blocking Execution of a Console Application that Creates Figures and Terminating Figures by Force
      Passing Arguments to and from a Standalone Application
      Using Graphical Applications in Shared Library Targets
      Using the VER Function in a Compiled MATLAB Application

Standalone Applications

   Introduction
   C Standalone Application Target
      Compiling the Application
      Testing the Application
      Deploying the Application
      Running the Application

   Coding with M-Files Only
      M-file Advantages
      Example

   Mixing M-Files and C or C++
      Examples Overview
      Simple Example
      Advanced C Example

Libraries

   Introduction
   Addressing mwArrays Above the 2 GB Limit
   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
      Functions in the Shared Library
      Type of Application
      Structure of Programs That Call Shared Libraries
      Library Initialization and Termination Functions
      Print and Error Handling Functions
      Functions Generated from M-Files

   Using C/C++ Shared Libraries on Mac OS X
   About Memory Management and Cleanup
      Overview
      Passing mxArrays to Shared Libraries

Troubleshooting

   mbuild
   MATLAB Compiler
   Deployed Applications

Reference Information

   Directories Required for Development and Testing
      Path for Java Development on All Platforms
      Windows Settings for Development and Testing
      UNIX Settings for Development and Testing

   Directories Required for Run-Time Deployment
      Path for Java Applications on All Platforms
      Windows Path for Run Time Deployment
      UNIX Paths for Runtime Deployment

   Unsupported Functions
   MATLAB Compiler Licensing
      Deployed Applications
      Using MATLAB Compiler Licenses for Development

   Using MCRInstaller.exe on the Command Line
      Running MCRInstaller.exe
      Examples: MCRInstaller.exe Command Line

Functions — By Category

   Pragmas
   Command-Line Tools

Functions — Alphabetical List

Limitations and Restrictions

   Limitations On What May Be Compiled
      Compiling MATLAB and Toolboxes
      MATLAB Code
      Fixing Callback Problems: Missing Functions
      Finding Missing Functions in an M-File
      Suppressing Warnings on UNIX
      Cannot Use Graphics with the -nojvm Option
      Cannot Create the Output File
      No M-File Help for Compiled Functions
      No MCR Versioning on Mac OS X
      Older Neural Networks Not Deployable with MATLAB Compiler

MATLAB Compiler Quick Reference

   Common Uses of MATLAB Compiler
      Create a Standalone Application
      Create a Library

   mcc

Error and Warning Messages

   About Error and Warning Messages
   Compile-Time Errors
   Warning Messages
   depfun Errors
      About Depfun Errors
      MCR/Dispatcher Errors
      XML Parser Errors
      Depfun-Produced Errors

C++ Utility Library Reference

   Primitive Types
   Utility Classes
   mwString Class
      About mwString
      Constructors
      Methods
      Operators

   mwException Class
      About mwException
      Constructors
      Methods
      Operators

   mwException Class Functions
   mwArray Class
      About mwArray
      Constructors
      Methods
      Operators
      Static Methods

   mwArray Class Functions


Your Ad Here