Deploy Prototype Code and Artifacts
Package prototype code and artifacts in a Zip file so that you can share or relocate project results.
Package Generated Code and Artifacts in a Zip File
In the Simulink® Editor, in the C Code tab, click Share.
Under Package Code & Artifacts, specify a file name for the zip file. By default, the code generator uses the model name and file extension
.zip. For this example, use the default name.
Click Generate Code and Package. The code generator produces zip file
Explore the contents of the generated zip file.
Explore Other Options
To explore more ways to customize, verify, and deploy generated rapid-prototyping code and artifacts, see the information that is listed in this table.
|Configure data accessibility for rapid prototyping
|Model multirate systems
|Create multiple model configuration sets and share configuration parameter settings across models
|Control how signals are stored and represented in the generated code
|Generate block parameter storage declarations and interface block parameters to your code
|Interface with legacy code for simulation and code generation
|Choose an External Code Integration Workflow
|Generate code compatible with C++
|Create a protected model that hides block and line information for sharing with a third party
|Customize the build process