Signal Group Monitoring Formats

When monitoring a signal group using Simulink® Real-Time™ Explorer, you can change the output format of the group by selecting one of the Format options. The monitoring formats are an extension of the options used in C sprint format character vectors.

Data TypeDigitsMeaningExample

F

17

Decimal float, with from one to seven digits to the right of the decimal point

Decimal 31.5415 with format F7 is 31.5415000.

E

17

Scientific notation, with from one to seven digits to the right of the decimal point

Decimal 31.5415 with format E7 is 3.1541500E1.

G

17

The shorter of F and E, with from one to seven digits to the right of the decimal point

Decimal 31.5415 with format G7 is 31.5415000.

H

17

Hexadecimal integer, one to seven hexadecimal digits wide

Decimal 315 with format H7 is 0x000013B.

B

17

Binary integer, one to seven binary digits wide

Decimal 31 with format B7 is 0011111.

Related Topics