| 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 Libraries. |
| Coding with M-Files Only | Simple Example | ![]() |
© 1994-2005 The MathWorks, Inc.