getLinuxVersion

Get information about the Linux environment 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 the uname -a command 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 Jetson hardware from the MATLAB® environment using the getLinuxVersion 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.

hwObj = jetson('192.168.1.15','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 a jetson or drive object.

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

Introduced in R2018b