Main Content

Existing shared code


Specify folder that contains existing shared code

Category: Code Generation Advanced Parameters


Default: none

Path to folder that contains existing shared code (see Generate Shared Utility Code). Specify the absolute path or a path relative to the Simulink® preference Code generation folder (CodeGenFolder). The model build process uses the code in this folder instead of locally generated shared utility code.

Command-Line Information

Parameter: ExistingSharedCode
Type: character vector
Value: valid MATLAB® variable name
Default: none

Recommended Settings


No impact

TraceabilityValid MATLAB variable name

No impact

Safety precaution

No impact

See Also

Related Topics