C++ Math Library Reference | ![]() ![]() |
Calling Conventions
This section demonstrates the calling conventions that apply to the MATLAB C++ Math Library functions, including what data type to use for C++ input and output arguments, how to handle optional arguments, and how to handle MATLAB's multiple output values in C++.
Refer to the "How to Call C++ Library Functions" section of Chapter 5 in the MATLAB C++ Math Library User's Guide for further discussion of the MATLAB C++ Math Library calling conventions and for a list of exceptions to the calling conventions. Also, see the mwVarargin
and mwVarargout
reference pages for information on how to call functions that can take any number of input or output arguments.
![]() | Reference Page Format | Constructing a C++ Prototype | ![]() |