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.

Functions

coder.ceval Call external C/C++ function
coder.cinclude Include header file in generated code
packNGo Package generated code in ZIP file for relocation

Objects

coder.HardwareImplementation Hardware-specific configuration parameters for C/C++ code generation fromMATLABcode
coder.hardware Create hardware board configuration object for C/C++ code generation fromMATLABcode

Topics

Example Workflows

Troubleshooting

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.