Code Packaging
For sharing or relocation of static and generated code files,
use the packNGo
function. For example, when you want to relocate the files
to a development environment that does not provide
MATLAB® and Simulink® products, use the packNGo
function.
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 by
using a standard ZIP utility. Then, build the final library
or executable file by using, for example, CMake.
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.