Main Content

Indent size

Size for indents in generated code

Model Configuration Pane: Code Generation / Code Style

Description

Specify indent size for generated code.

Settings

2 | 3 | 4 | 5 | 6 | 7 | 8

Default: 2

Specify an integer value that indicates the number of characters per indent level. Possible values range from 28 characters.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyNo impact
Safety precautionNo impact

Programmatic Use

Parameter: IndentSize
Type: integer
Value: integer from 28
Default: 2

Version History

Introduced in R2013b