Package code and artifacts
Package generated code and artifacts in ZIP file
Model Configuration Pane: Code Generation
Description
The Package code and artifacts parameter specifies whether to execute the packNGo
function after the build process completes. That function packages generated code and artifacts in a ZIP file that you can use to relocate the files to an alternative development system.
Dependencies
Selecting this parameter enables Zip file name and clearing this parameter disables Zip file name.
Settings
off (default) | on
- On
After code generation, to package generated code and artifacts for relocation, the build process runs this
packNGo
command:packNGo(pwd,... 'IncludeReport',true,... 'packType','hierarchical',... 'fileName',zipName,... 'nestedZipFiles',false);
- Off
The build process does not run the
packNGo
command after code generation.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: PackageGeneratedCodeAndArtifacts |
Type: character vector |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2012b