Main Content

Source files

Description

Specify a list of additional source files to compile and link with the generated code.

Category: Code Generation > Custom Code

Settings

Default: ''

Enter a space-separated list of source files to compile and link with the generated code.

Limitation

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

Tip

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

Command-Line Information

Parameter: CustomSource
Type: character vector
Value: file name
Default: ''

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics