Main Content

getLinuxVersion

Get information about theLinuxenvironment on the target

Description

example

getLinuxVersion(hwObj)displays the name, version, and other details about the Linux®environment installed on the NVIDIA®hardware. This function is equivalent to running theuname -acommand from a Linux terminal on the target.

Examples

collapse all

You can check the name, version, and other details of the Linux OS currently installed on the NVIDIA Jetson®hardware from the MATLAB®environment using thegetLinuxVersionmethod of thejetsonhardware connection object.

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

hwObj = jetson(“jetson-board-name”,'ubuntu','ubuntu'); getLinuxVersion(hwObj);
Linux tegra-ubuntu 4.4.38-tegra #1 SMP PREEMPT Fri Dec 1 06:08:28 PST 2017 aarch64 aarch64 aarch64 GNU/Linux

Input Arguments

collapse all

Connection to a specific NVIDIA hardware board, specified as ajetsonordriveobject.

Version History

Introduced in R2018b