Using the C Math Library    

Calling Library Routines


Introduction 

The MATLAB C Math Library includes over 400 functions. Every routine in the library works the same way as its corresponding routine in MATLAB. This section describes the calling conventions that apply to the library functions, including how the C interface to the functions differs from the MATLAB interface. Once you understand the calling conventions, you can translate any call to a MATLAB function into a call to a C function.

Chapter 9, "Library Routines" lists of all the routines in the MATLAB C Math library by category. For more detailed information about the library functions, including the list of arguments and return value for each function, see the MATLAB C Math Library Reference. Each routine's reference page includes a link to the documentation for the MATLAB version of the function.

This section also includes information about:


 Comparison of C and MATLAB Indexing Syntax How to Call MATLAB Functions