Main Content

setDisplayEnvironment

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

Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.

Description

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.

example

Examples

collapse all

For an NVIDIA 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.

The display environment value must be a character vector 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'

Version History

Introduced in R2019a