MATLAB COMPILER RELEASE NOTES User's Guide Page 12

  • Download
  • Add to my manuals
  • Print
  • Page
    / 264
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 11
1 Introducing the MATLAB Compiler
1-2
Introduction
This book describes version 2.1 of the MATLAB
®
Compiler. The MATLAB
Compiler tak es M-files as input and generates C or C++ source code or P-code
as output. The MATLAB Compiler ca n generate t hese kinds of source code:
C source code fo r building MEX-files.
C or C++ source code for combining with other modules to form stand-alone
applications. Stand-alone applicati ons do not require MATLAB at run time;
they can run even if MATLAB is not installed on the system. The MATLAB
Compiler does require the MATLAB C/C++ Math Library to create
stand-alone applications that rely on the core math and data analysis
capabilitiesofMATLAB.TheMATLAB Compileralso requires the MATLAB
C/C++ Graphics Library in order to create stand-alone applications that
make use of Handle Graphics
®
functions.
C code S-functions for use with Simulink
®
.
C shared libraries (dynamically linked libraries, or DLLs, on Microsoft
Windows 95/98/2000/NT)andC++ staticlibraries.Thesecanbeusedwithout
MATLAB on the system, but they do require the MATLAB C/C++ Math
Library.
This chapter takes a closer look at these categories of C and C++ s ource code
and explains the value of compiled co de.
Before You Begin
Before reading this book, you should already be comfortable writing M-files. If
you are not, see “Programming and Data Types” in Using MATLAB.
Note The phrase MATLAB interpreter refers to the application that accepts
MATLAB commands, executes M-files and MEX-files, and behaves as
described in Using MAT LAB. When you use MATLAB, you are using the
MATLAB interpreter. The phrase MATLAB Compiler refers to this product
that translates M-files to C or C++ source code. This book distinguishes
references to the MATLAB Compiler by using the word ‘Compiler’ with a
capital C . References to ‘compiler’ with a lowercase c refer to your C or C++
compiler.
Page view 11
1 2 ... 7 8 9 10 11 12 13 14 15 16 17 ... 263 264

Comments to this Manuals

No comments