Hardware Implementation Pane
The Hardware Implementation category includes parameters for configuring a hardware board to run a model. Hardware implementation parameters specify different options for building models to run on hardware boards or devices including communication connections and hardware specific parameters. Hardware Implementation pane parameters do not control hardware or compiler behavior. The parameters describe hardware and compiler properties for the MATLAB® software.
Specifying hardware characteristics enables simulation of the model to detect error conditions that can arise when executing code, such as hardware overflow.
MATLAB uses the information to generate code for the platform that runs as efficiently as possible. MATLAB software also uses the information to give bit-true agreement for the results of integer and fixed-point operations in simulation and generated code.
Parameter | Description |
---|---|
Hardware board | Select the hardware board upon which to run your model. |
Code Generation system target file | System target file that you select on the Code Generation pane. |
Device vendor | Select the manufacturer of the hardware board to use to implement the system that this model represents. |
Device type | Select the type of hardware to use to implement the system that this model represents. |
These configuration parameters are in the Device details section.
Parameter | Description |
---|---|
Number of bits: char | Describe the character bit length for the hardware. |
Number of bits: short | Describe the data bit length for the hardware. |
Number of bits: int | Describe the data integer bit length for the hardware. |
Number of bits: long | Describe the data bit lengths for the hardware. |
Number of bits: long long | Describe the length in bits of the C |
Number of bits: float | Describe the bit length of floating-point data for the hardware (read only). |
Number of bits: double | Describe the bit-length of |
Number of bits: native | Describe the microprocessor native word size for the hardware. |
Number of bits: pointer | Describe the bit-length of pointer data for the hardware. |
Number of bits: size_t | Describe the bit-length of |
Number of bits: ptrdiff_t | Describe the bit-length of |
Largest atomic size: integer | Specify the largest integer data type that can be atomically loaded and stored on the hardware. |
Largest atomic size: floating-point | Specify the largest floating-point data type that can be atomically loaded and stored on the hardware. |
Byte ordering | Describe the byte ordering for the hardware board. |
Signed integer division rounds to | Describe how your compiler for the hardware rounds the result of dividing two signed integers. |
Shift right on a signed integer as arithmetic shift | Describe how your compiler for the hardware fills the sign bit in a right shift of a signed integer. |
Support long long | Specify that your C compiler supports the C |
These configuration parameters are in the Advanced parameters section.
Parameter | Description |
---|---|
Specify whether the test hardware differs from the production hardware. | |
Select the manufacturer and type of the hardware to use to test the code generated from the model. | |
Describe the character bit length for the hardware that you use to test code. | |
Describe the data bit length for the hardware that you use to test code. | |
Describe the data integer bit length of the hardware that you use to test code. | |
Describe the data bit lengths for the hardware that you use to test code. | |
Describe the length in bits of the C | |
Describe the bit length of floating-point data for the hardware that you use to test code (read only). | |
Describe the bit-length of | |
Describe the microprocessor native word size for the hardware that you use to test code. | |
Describe the bit-length of pointer data for the hardware that you use to test code. | |
Describe the bit-length of | |
Describe the bit-length of | |
Specify the largest integer data type that can be atomically loaded and stored on the hardware that you use to test code. | |
Specify the largest floating-point data type that can be atomically loaded and stored on the hardware that you use to test code. | |
Describe the byte ordering for the hardware that you use to test code. | |
Describe how your compiler for the test hardware rounds the result of dividing two signed integers. | |
Describe how your compiler for the test hardware fills the sign bit in a right shift of a signed integer. | |
Specify that your C compiler supports the C | |
Use Simulink Coder Features (Simulink Coder) | Enable Simulink Coder features for models deployed to Simulink Supported Hardware. |
Use Embedded Coder Features (Embedded Coder) | Enable Embedded Coder features for models deployed to Simulink Supported Hardware. |
The following model configuration parameters have no other documentation.
Parameter | Description |
---|---|
TargetPreprocMaxBitsSint int - 32 | Specify the maximum number of bits that the target C preprocessor can use for signed integer math. |
TargetPreprocMaxBitsUint int - 32 | Specify the maximum number of bits that the target C preprocessor can use for unsigned integer math. |