Main Content

Source Code and Binary Deployment

Deploy generated source code and binaries to other environments

Binaries and executables are 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. Use these example workflows to inform your projects.


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


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


Example Workflows


Troubleshoot Failures in Deployed Code

Generate code that includes run-time error detection.

Compiler and Linker Errors

Address common causes of errors that occur during build.