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
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
, andHex
.Note
For input signals with a data type of
single
ordouble
, the Data Display block cannot display in theOctal
andHex
formats. In this case, the Format parameter defaults toFloat
.- Precision
The number of digits after the decimal point to display for the given data value.
Version History
Introduced in R2016b