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.