MATLAB Compiler | ![]() ![]() |
Interfacing M-Code to C/C++ Code
The MATLAB Compiler supports calling arbitrary C/C++ functions from your M-code. You simply provide an M-function stub that determines how the code will behave in M, and then provide an implementation of the body of the function in C or C++.
![]() | Controlling Information in Run-Time Errors | C Example | ![]() |