Main Content

Number of bits: long


Describe the data bit lengths for the hardware that you use to test code.

Category: Hardware Implementation


Default: 32

Minimum: 32

Maximum: 64

Enter an integer value between 32 and 64. (The value 64 is selected by default if you run MATLAB® software on a 64-bit host computer and select the MATLAB host as the test hardware — that is, TargetHWDeviceType equals 'Generic->MATLAB Host Computer'.)


All values must be a multiple of 8 and between 32 and 64.


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

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

Command-Line Information

Parameter: TargetBitPerLong
Type: integer
Value: any valid value
Default: 32

Recommended Settings

DebuggingNo impact
TraceabilityNo impact
EfficiencyTarget specific
Safety precaution

No impact when Test hardware is the same as production hardware is selected. If it is not selected, no recommendation.

Related Topics