Main Content

Model Configuration Parameters for Android Devices

Hardware Implementation Pane Overview

Configuration Parameters > Hardware Implementation

  1. In the Modeling tab of the toolstrip, select Model Settings.

  2. In the Configuration Parameter dialog box, click Hardware Implementation.

  3. Set the Hardware board parameter to Android Device.

  4. The parameter values under Hardware board settings are automatically populated to their default values.

    You can optionally adjust these parameters for your particular use case.

  5. Click Apply.

For more information on selecting a hardware support package and general configuration settings, see Hardware Implementation Pane.

Operating System Options

ParameterDescriptionDefault Value

Base Rate Task Priority

Sets the static priority of the base rate task in the operating system.


Build Options

ParameterDescriptionDefault Value

Build Action

Defines how Simulink® responds when you build your model.

Build, load, and run

Device Options

ParameterDescriptionDefault Value


Device where the packaged Android™ application gets deployed.

No devices detected

App Options

ParameterDescriptionDefault Value

Package Name

Defines the unique Android application package name.


ThingSpeak Properties

ParameterDescriptionDefault Value

Connect to Custom ThingSpeak Server

Enable connection to a custom or private ThingSpeak™ server.


Server IP Address

Specify the IP address of a ThingSpeak server.


Specify the port number of a ThingSpeak server.


Serial port properties

ParameterDescriptionDefault Value
Baud rate

Set the baud rate of the serial port on the Android device.


UI generation properties

ParameterDescriptionDefault Value
Generated UI layout on device to be

Specify the size of the application user interface components on the device screen.

Fit to Screen

Connected I/O

ParameterDescriptionDefault Value
Enable Connected I/OOption to enable Connected I/O during Normal mode simulation


Communication InterfaceTransport layer used to exchange data between host computer and hardwareTCP/IP

External Mode

ParameterDescriptionDefault Value

Communication Interface

Transport layer used to exchange data between host computer and hardware.



Serial port on the device.



Enable view of the external mode execution progress and updates in the Diagnostic Viewer.