Main Content

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 packNGocommand:

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

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: PackageGeneratedCodeAndArtifacts
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2012b