Main Content

Data Display

Display numerical data on your app screen

Add-On Required: This feature requires the Simulink Support Package for Android Devices add-on.

Library

Simulink Support Package for Android Devices / User Interface

  • Data Display block

Description

Display numerical data to a widget on the app screen. The app widget label is taken from the block label.

The block accepts a one-dimensional vector of variable length and supports the following data types: boolean, uint8, int8, uint16, int16, uint32, int32, single, and double.

Parameters

Format

Set the format of the data value displayed to the app screen. The formats include the following: Integer, Float, Scientific, Octal, and Hex.

Note

For input signals with a data type of single or double, the Data Display block cannot display in the Octal and Hex formats. In this case, the Format parameter defaults to Float.

Precision

The number of digits after the decimal point to display for the given data value.

Version History

Introduced in R2016b