Using the C Math Library |
 |
MATLAB C Math Library Documentation
The documentation for the library includes:
- MATLAB C Math Library User's Guide--This manual provides tutorial information about the library. This manual is also available in PDF format, accessible through MATLAB Help.
- MATLAB C Math Library Reference--The reference pages for all the MATLAB C Math library routines are available in HTML and PDF versions, accessible through MATLAB Help.
How This Book Is Organized
This chapter provides an introduction to the MATLAB C Math Library and tells how to install it. The remainder of the book is organized as follows:
- Chapter 2, Writing and Building Programs introduces all the primary library features by showing how they are used in a simple example program. This chapter contains pointers to all the other chapters where you can find more detailed information about each new feature. In addition, it includes information about building applications.
- Chapter 3, Working with MATLAB Arrays describes how to create MATLAB arrays in your C program.
- Chapter 4, Managing Array Memory describes how to use the MATLAB C Math library automatic memory management facility.
- Chapter 5, Indexing into Arrays describes how to access individual elements, or groups of elements, in an array. Using indexing you can access, modify, or delete elements in an array.
- Chapter 6, Calling Library Routines describes the MATLAB C Math Library interface to the MATLAB functions. This chapter describes how to call MATLAB functions that have variable numbers of input arguments and return values.
- Chapter 7, Importing and Exporting Array Data describes how to use the
mlfLoad()
and mlfSave()
routines to import data to your application or export data from your application.
- Chapter 8, Handling Errors and Writing a Print Handler describes how to customize error handling and print handling using MATLAB C Math Library routines.
- Chapter 9, Library Routines lists the functions available in the MATLAB C Math Library. The chapter groups the more than 400 library functions into functional categories and provides a short description of each function.
- Appendix A, Directory Organization describes the MATLAB directory structure.
- Appendix B, Errors and Warnings lists the error messages issued by the library.
Accessing Online Reference Documentation
To access the MATLAB online documentation, select the Help option from the MATLAB menu bar. MATLAB C Math Library documentation is available in in HTML and PDF formats.
To look up the syntax and behavior for a C Math Library function, refer to the MATLAB C Math Library Reference. This reference gives you access to a reference page for each function. Each page presents the function's C syntax and links you to the MATLAB Function Reference page for the corresponding MATLAB function.
If you are a stand-alone Math Library user:
- Open the HTML file
<matlab>/help/mathlib.html
with your Web browser, where <matlab>
is the top-level directory where you installed the C Math Library.
- Select C Math Library Reference.
Additional Sources of Information
Also available from Help:
- Release notes for the MATLAB C Math Library (
<matlab>\extern\examples\cmath\release.txt
)
- MATLAB Application Program Interface Reference
- MATLAB Application Program Interface Guide
- MATLAB Function Reference
- Installation Guide for UNIX
- Installation Guide for PC
| Getting Started | | Installing the MATLAB C Math Library |  |