With MATLAB® Coder™, you can generate C/C++ source code, a static library, a dynamically linked library, or an executable. How you use the generated code depends on your goal.
Goal | See |
---|---|
Package generated files into a zip file for relocation to another development environment. | Package Code for Other Development Environments |
Call generated code from MATLAB code. | External Code Integration for Code Generation |
Generate an example C/C++ main function. Use that function to integrate generated code into a C application. | Use an Example C Main in an Application |
Integrate generated code into a C/C++ application. | Use a C Dynamic Library in a Microsoft Visual Studio Project |
Integrate generated code that uses emxArrays. | |
Generate a C/C++ Executable. | Generating Standalone C/C++ Executables from MATLAB Code |