setDisplayEnvironment

Set the display environment value used for redirecting the display on the target

Description

example

setDisplayEnvironment(hwObj,displayValue) sets the display environment value used for redirecting the output to a specific display connected to the NVIDIA® target board. This value is valid until the hardware object is live.

Examples

collapse all

For a Jetson target platform, you can configure the display where the output is redirected by using the setDisplayEnvironment method of the jetson hardware connection object.

To create a live hardware connection object, provide the host name or IP address, user name, and password of the target board

setDisplayEnvironment(hwObj,'0.0');

Input Arguments

collapse all

Connection to a specific NVIDIA hardware board, specified as a jetson or drive object.

Use the jetson or the drive function to create this connection.

The display environment value must be a character array or string value in the format displaynumber.screennumber. To identify the value of the display environment on your platform, use the $DISPLAY environment variable. For example, the terminal command echo $DISPLAY prints the display environment value of the system.

Example: 0.0

Introduced in R2019a