Model Configuration Parameters for Android Devices

Hardware Implementation Pane Overview

  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 (Simulink).

Operating System Options

ParameterDescriptionDefault Value

Base Rate Task Priority

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

40

Build Options

ParameterDescriptionDefault Value

Build Action

Defines how Simulink® responds when you build your model.

Build, load, and run

Device Options

ParameterDescriptionDefault Value

Device

Device where the packaged Android™ application gets deployed.

No devices detected

App Options

ParameterDescriptionDefault Value

Package Name

Defines the unique Android application package name.

com.example

ThingSpeak Properties

ParameterDescriptionDefault Value

Connect to Custom ThingSpeak Server

Enable connection to a custom or private ThingSpeak™ server.

disabled

Server IP Address

Specify the IP address of a ThingSpeak server.

184.106.153.149

Port

Specify the port number of a ThingSpeak server.

80

Serial port properties

ParameterDescriptionDefault Value
Baud rate

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

9600

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

External Mode

ParameterDescriptionDefault Value

Communication Interface

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

TCP/IP

Port

Serial port on the device.

17725

Verbose

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

disabled