This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

getLinuxVersion

Get information about the Linux environment on the target

Syntax

getLinuxVersion(hwObj)

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