Main Content

Deployment Basics

Understand the basic workflows and requirements to deploy generated code

Binaries and executables can be created from the app, or from the command line. Generate deployable code with an example main function to incorporate the executable or binary into your application. Supporting initialization and cleanup functions are also generated for your use. Depending on the types of arrays you want to integrate into your packaged code, see the relevant pages below.

Functions

coder.cevalCall C/C++ function from generated code
coder.cincludeInclude header file in generated code
packNGoPackage generated code in ZIP file for relocation

Objects

coder.HardwareImplementationHardware-specific configuration parameters for C/C++ code generation from MATLAB code
coder.hardwareCreate hardware board configuration object for C/C++ code generation from MATLAB code

Topics

Deployment Basics

Example Main

Using Generated Code

Featured Examples