Main Content

Use custom XCP Server

Use custom or default XCP Server

Since R2020a

Model Configuration Pane: Code Generation > AUTOSAR Code Generation Options

Description

Specify whether to use custom or default XCP Server

Enable to use custom XCP Server. Disable to use MathWorks XCP Server

Settings

'off' (default) | 'on'
  • 'off' — Use a custom XCP Server, with an implementation for XCP functions provided in the XCP header file xcp_slave.h.

  • 'on' — Use the default MathWorks® XCP Server.

Tips

All models in a model hierarchy must specify the same value for this parameter.

Recommended Settings

ApplicationSetting
DebuggingNo Recommendation
TraceabilityNo Recommendation
EfficiencyNo Recommendation
Safety precautionNo Recommendation

Programmatic Use

Parameter: AdaptiveAutosarUseCustomXCPServer
Type: character vector
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2020a