Main Content

getDisplayEnvironment

Get 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

displayValue = getDisplayEnvironment(hwObj) shows the display environment value used for redirecting the display on the target.

example

Examples

collapse all

For an NVIDIA® Jetson™ target platform, you can check the display where the output is redirected by using the getDisplayEnvironment 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

getDisplayEnvironment(hwObj);
ans =

    '0.0'

Input Arguments

collapse all

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

Output Arguments

collapse all

The display environment value returned is in the format displaynumber.screennumber.

Example: '0.0'

Version History

Introduced in R2019a