Main Content
Remove Top-level Subsystem Ssmethod Type
Remove the ssmethod
type from the top-level subsystem
Model Configuration Pane: PLC Code Generation / Interface
Description
The Remove top level subsystem ssmethod type parameter removes the ssmethod
type from the top-level subsystem argument interface. When this option is enabled, the software removes the ssmethod
type and converts the subsystem initialization code from switch case statement to conditional if
statement. As a result, the generated code has the same interface as the model subsystem.
Settings
off (default) | on
Default: off
- On
Remove top level function block
ssmethod
type in generated code.- Off
Generated code contains
ssmethod
type Function block and switch case statements.
Recommended Settings
Application | Setting |
---|---|
Debugging | No impact |
Traceability | No impact |
Efficiency | No impact |
Safety precaution | No impact |
Programmatic Use
Parameter: PLC_RemoveTopFBSSMethodType |
Type: string |
Value: 'on' | 'off' |
Default: 'off' |
Version History
Introduced in R2018a