Code Packaging and Relocation
R2026bPackage generated code files for sharing or relocation to
another environment, such as one that does not provide
MATLAB® and Simulink® products. Generate source code and use
codebuild to create CMake configuration
files. Using packNGo, create a ZIP file that packages
generated source code, build information, and CMake
configuration files. After relocation, unpack the files and
build the final library or executable file by using, for
example, CMake.
If you generate code in a continuous integration (CI) pipeline, you can configure the pipeline to automatically package the generated code and manage code generation artifacts.
Functions
Topics
- Relocate or Share Generated Code
Package and relocate generated code and artifacts to another development environment.
- Compile Code in Another Development Environment
Relocate generated code and compile in another environment.
- Continuous Integration for Code Generation
Incorporate code generation into your continuous integration pipeline.
- Code Generation Differences Across Platforms
Determine why generated code is different for different platforms.