Main Content

Source files

Description

Specify custom code source files.

Category: Simulation Target

Settings

Default:''

You can separate source files with a comma, a space, or a new line.

Limitation

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

Tip

  • The file name is sufficient if the file is in the current MATLAB® folder or in one of the directories specified in Include directories.

Command-Line Information

Parameter: SimUserSources
Type: character vector or string scalar
Value: any file name
Default: ""

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precaution

No recommendation

Related Topics