Main Content

Libraries

Link additional libraries with the generated code

Model Configuration Pane: Code Generation / Custom Code

Description

Specify a list of additional libraries to link with the generated code.

Settings

'' (default) | string

Enter a space-separated list of static library files to link with the generated code.

Tips

You can specify just the file name if the file is in the current MATLAB® folder or in one of the include folders.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: CustomLibrary
Type: character vector
Value: library file name
Default: ''

Limitation

This parameter does not support Windows® file names that contain embedded spaces.

Version History

Introduced before R2006a