Main Content


Prepare model for hardware connection, add blocks to support hardware protocols

The set of Simulink® blocks and core functionality available to create apps for your Android™ devices.


expand all

AccelerometerMeasure linear acceleration along X, Y, and Z axes
Ambient Temperature SensorMeasure ambient temperature
GyroscopeMeasure rate of rotation around X, Y, and Z axes
Humidity SensorMeasure relative air humidity
Light SensorMeasure ambient light
Location SensorMeasure GPS latitude, longitude, and altitude
Pressure SensorMeasure atmospheric pressure
MagnetometerMeasure magnetic field along X, Y, and Z axes
OrientationMeasure device rotation along X, Y, and Z axes
BLE SendSend data using Bluetooth Low Energy (BLE) protocol
BLE ReceiveReceive data using Bluetooth Low Energy (BLE) protocol
UDP SendSend UDP packets
UDP ReceiveReceive UDP packets
ThingSpeak WritePublish data to Internet of Things using ThingSpeak
ThingSpeak ReadRead data stored in ThingSpeak channel
TCP/IP SendSend data over TCP/IP network to another remote host
TCP/IP ReceiveReceive data over TCP/IP network from remote host
Serial TransmitSend buffered data to the serial port
Serial ReceiveReceive an [Nx1] array of data on the serial port and write it to the data block output. When data is not available, write 0 to the data block output
TalkBack ReadRead command(s) from TalkBack ID on ThingSpeak TalkBack server
TalkBack WriteWrite command(s) to TalkBack ID on ThingSpeak TalkBack server
Audio CaptureCapture audio stream from device microphone
Audio File ReadAdd audio file from computer into mobile application
Audio File WriteWrite audio frames to an audio file
Audio PlaybackPlay audio on the device speaker
Video DisplayDisplay video on device display
CameraCapture video using front or rear camera
SliderDisplay slider widget
Data DisplayDisplay numerical data on your app screen
ButtonDisplay button widget on device screen
Data InputGenerate data input field on device screen
FromAppReceive data from Android app
ToAppSend data to Android app


androidlibOpen the Simulink Library Browser to blocks for Android Devices


Model Configuration Parameters for Android Devices

Parameter and configuration options for creating and running applications on an Android device.

Tune Parameters and Monitor Data in Model Running on Android Devices

Use your host computer to monitor and control a model running on an Android device.

Publish or Retrieve Data to Internet of Things Using ThingSpeak

Publish Data to Internet of Things using ThingSpeak.

Log Signals in MAT-Files on an Android Device

Log signals from Simulink models on an Android device.