Main Content

Package code and artifacts

Package generated code and artifacts in ZIP file

Model Configuration Pane: Code Generation

Description

Execute the packNGo function after code generation. The function packages generated code and artifacts in a ZIP file. You can use the ZIP file to relocate the packaged files to another 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 software runs this packNGo command:

packNGo(pwd,...
        'IncludeReport',true,...
        'packType','hierarchical',...
        'fileName',zipName,...
        'nestedZipFiles',false);

Off

The software 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