Main Content

S-function upgrades needed

Diagnostic behavior when model contains S-function that requires updates

Model Configuration Pane: Diagnostics / Compatibility

Description

The S-function upgrades parameter controls the diagnostic behavior when a model contains an S-function that requires updates.

This diagnostic helps you identify required updates by checking for these cases.

  • S-function is not inlined because the SS_OPTION_USE_TLC_WITH_ACCELERATOR option is set to false.

  • Level 1 C-MEX S-Functions are in use.

  • Parameters are registered, but tunability is not set.

  • No run-time parameters are registered, but tunable parameters exist.

  • ssWriteRTWParameters SimStruct function is in use.

Settings

none (default) | warning | error

Default: none

none

The software does not issue a diagnostic.

warning

The software issues a warning.

error

The software terminates simulation and issues an error.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionerror

Programmatic Use

Parameter: SFcnCompatibilityMsg
Value: 'none' | 'warning' | 'error'
Default: 'none'

Version History

Introduced in R2006a