Using the C++ Math Library | ![]() ![]() |
Overview
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 chapter 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 C++ call.
This chapter includes information about passing a function as an argument to a MATLAB function or a function of your own creation.
Chapter 11 contains a listing of all the routines in the MATLAB C++ Math Library. For complete reference information about the library functions, including the list of arguments and return value for each function, see the MATLAB C Math Library Reference. Each function reference page includes a link to the documentation for the MATLAB version of the function. Accessing Online Reference Documentation describes how to use the Help system.
![]() | Programming Efficient Indices | How to Call C++ Library Functions | ![]() |