Contenuto principale

Number of bits: char

R2026b

Bit length of char data type for selected hardware

Model Configuration Pane: Hardware Implementation

Description

The Number of bits: char parameter describes the character bit length for the selected hardware.

Dependencies

This parameter is enabled only if you can modify it for the selected hardware.

Settings

8 (default) | 16 | 24 | 32

Selecting a device by using the Device vendor and Device type parameters sets a device-specific value for this parameter.

Enter a value that is a multiple of 8 from a minimum of 8 through a maximum of 32.

Recommended Settings

ApplicationSetting
DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precaution

No recommendation for simulation without code generation.
For simulation with code generation, select your Device vendor and Device type if they are available in the drop-down list. If your Device vendor and Device type are not available, set device-specific values by using Custom Processor.

Programmatic Use

Parameter: ProdBitPerChar
Type: integer
Value: 8 | 16 | 24 | 32
Default: 8

Version History

Introduced in R2006b