Target operating system

Description

Specify a target operating system to use when generating model-specific example main program module.

Category: Code Generation > Templates

Settings

Default: BareBoardExample

BareBoardExample

Generates a bareboard main program designed to run under control of a real-time clock, without a real-time operating system.

VxWorksExample

Generates a fully commented example showing how to deploy the code under the VxWorks® real-time operating system.

NativeThreadsExample

Generates a fully commented example showing how to deploy the threaded code under the host operating system. This option requires you to configure your model for concurrent execution.

Dependencies

  • This parameter is enabled by Generate an example main program.

  • This parameter must be the same for top-level and referenced models.

Command-Line Information

Parameter: TargetOS
Type: character vector
Value: 'BareBoardExample' | 'VxWorksExample'| 'NativeThreadsExample'
Default: 'BareBoardExample'

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Related Topics