Main Content

Keep Top-Level ssmethod Name the Same as the Non-Top Level Name

Generate code for individual model subsystems and integrate the generated code externally

Since R2020a

Model Configuration Pane: PLC Code Generation / Interface

Description

The Keep top level ssMethod name same as non-top level parameter prevents renaming the SS_OUTPUT type to SS_STEP type from the top-level subsystem argument interface. When you select this option, the software emits the same ssMethod type in the code generation for both top and non-top level blocks.

Settings

off (default) | on
On

Generated code for top-level block does not contain the SS_STEP type in generated code.

Off

Generated code contains SS_STEP AND SS_OUTPUT type function blocks.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: PLC_RemoveSSStep
Type: string
Value: 'on' | 'off'
Default: 'off'

Version History

Introduced in R2020a