Specifications

RS-232 Simulink Block Reference
2-35
Supported Data Types for Message Fields
The following table lists the supported data types for the RS-232 message
fields.
Format Description
%c
and %C
Single character and wide character
%d or %I
Signed decimal integer
%u
Unsigned decimal integer
%o
Unsigned octal integer
%x or %X
Unsigned hexadecimal integer using ’abcdef’ or
’ABCDEF’ for the hexadecimal digits.
%e or %E
Exponential format using e or E
%f
Floating point
%g
Signed value printed in f or e format depending on
which is smaller
%G
Signed value printed in f or E format depending on
which is smaller