coder.setCDataTypesFixedWidth
R2026bDescription
coder.setCDataTypesFixedWidth( sets the
model configuration parameter Data type
replacement to cs)Use C data types with fixed-width
integers for model cs.
The model configuration parameter Data type replacement
automatically selects Use C data types with fixed-width integers
when you switch System target file to an ERT-based system target file
such as ert.tlc.
When Use C data types with fixed-width integers is selected,
the software issues:
A warning if you set fixed-width integer limit identifiers to a setting that is incompatible with
Use C data types with fixed-width integers. For instance, setting the configuration parameter 64-bit integer minimum identifier toMIN_int64_Ttriggers a warning, and the setting is not applied.An error if your model uses
Simulink.AliasTypeobjects that alias a fixed-width integer type, and whoseHeaderFileproperty is empty.
To diagnose these issues and pause program execution before Data type
replacement is updated, you can place a breakpoint inside
coder.setDataTypesFixedWidth.
Examples
Input Arguments
Version History
Introduced in R2026b