Main Content

Display

Display label and integer on EV3 Display

Add-On Required: This feature requires the Simulink Support Package for LEGO MINDSTORMS EV3 Hardware add-on.

Library

Simulink® Support Package for LEGO® MINDSTORMS® EV3 Hardware

  • Display block

Description

Display a static label, and an integer from the block input, on the EV3 Display.

The values can be positive or negative.

If the model running on the EV3 brick does not use the Display, the Display shows a message that it is running a program.

This block converts the data type of the values it receives. You do not need to convert the data type of the input signal to int32 with floor.

During simulations without hardware, this block does nothing. See Block Produces Zeros or Does Nothing in Simulation.

Parameters

Label (maximum 8 characters)

Enter a static label for the input. The Display shows the prefix to the left of the input value. The prefix cannot be longer than 8 characters. For example, if you are displaying the state of the Button block, enter Button:.

Row

Select the row upon which to display the number. Row 1 is at the top of the Display. Line 10 is at the bottom.

Display format

Select the format of the number. The options are Decimal or Hex (hexadecimal).