MATLAB Compiler | ![]() ![]() |
Mixing M-Files and C or C++
The examples in this section illustrate how to mix M-files and C or C++ source code files:
One way to create a stand-alone application is to code some of it as one or more function M-files and to code other parts directly in C or C++. To write a stand-alone application this way, you must know how to
Note If you include compiled M code into a larger application, you must produce a library wrapper file even if you do not actually create a separate library. For more information on creating libraries, see the library sections in Supported Executable Types. |
![]() | Compiling mrank.m and rank.m as Helper Functions | Simple Example | ![]() |