Main Content
Existing shared code
Folder that contains shared code to use instead of generated shared utility code
Model Configuration Pane: Code Generation / Interface
Description
The Existing shared code parameter specifies a folder that contains existing shared code that the code generator uses during the build process instead of generated shared utility code.
Settings
none
(default) | path to shared code folder
none
Build process uses locally generated shared utility code.
path to shared code folder
Build process uses shared code (see Generate Shared Utility Code) that is available at the path location specified as a character vector. Specify the absolute path or a path relative to the Simulink® preference Code generation folder (
CodeGenFolder
).
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | Valid MATLAB® variable name |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: ExistingSharedCode |
Type: character vector |
Value: valid MATLAB variable name |
Default: none |
Version History
Introduced in R2016b