User`s guide
Comb ining Options ................................ 5-2
Conflicting Options on the Command Line
............. 5-3
Using File Extensions
.............................. 5-3
Using Macros to Simplify Com pilation
............... 5-5
Macro Options
.................................... 5-5
Understanding a Macro O ption
...................... 5-5
Using Pathnames
.................................. 5-7
Using Bundle Files
................................. 5-8
Using Wrapper Files
............................... 5-10
What Are Wrapper Files?
........................... 5-10
Main File Wrapper
................................ 5-10
C Library Wrapper
................................ 5-11
C++ Library Wrapper
.............................. 5-12
Interfacing M-Code to C/C++ Code
.................. 5-13
Overview
........................................ 5-13
CExample
....................................... 5-13
Using Pragmas
.................................... 5-17
Using feval
....................................... 5-17
Example: Using %#function
......................... 5-17
Script Files
....................................... 5-19
Converting Script M-Files to Function M-Files
.......... 5-19
Including Script Files in Deployed Applications
......... 5-20
Compiler Tips
..................................... 5-22
Calling Built-In Functions from C or C++
.............. 5-22
Calling a Function from the Command L ine
............ 5-23
Using MAT-Files in Deployed Applications
............. 5-23
Recommended Location of .CTF Files
................. 5-23
Compil ing a GUI T hat Con tains an Active X Control
..... 5-24
Debugging MATLAB C ompiler Generated E xecutables
... 5-24
Deploying Applications That Call the Java Native
Libraries
...................................... 5-25
Locatin g .fig Files in Deploye d Applications
............ 5-25
viii Contents