jetson
Connection to NVIDIA Jetson hardware
Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.
Description
This object represents a connection from the MATLAB® software to the NVIDIA®
Jetson™ hardware. To create this object, use the jetson
function.
To interact with the Jetson hardware, use this object with the functions listed in Object Functions.
Creation
Description
creates a connection,
obj
= jetsonobj
, from the MATLAB software to the NVIDIA
Jetson hardware. Use this syntax to connect or reconnect to the same hardware.
You do not need to supply the device address, user name, and password. The
jetson
object reuses these settings from the most recent
successful connection to the Jetson hardware.
overrides the device address, user name, and password from the previous connection. Use
this syntax to connect to hardware whose settings are different from the previous
successful connection. The Jetson hardware has two default user names: obj
= jetson(deviceaddress
,username
,password
)'nvidia'
and
'ubuntu'
. For 'nvidia'
, the default password is
'nvidia'
. For 'ubuntu'
, the default password is
'ubuntu'
. It is a good security practice to create a strong
password after the first login. After changing the hardware password, or after
connecting from the MATLAB software to a different piece of Jetson hardware, use this syntax.
After connecting to the hardware, you can use the obj
object to
interact with the Jetson hardware and attached peripherals such as a camera. To close the
connection, use clear
to remove obj
and connections that use obj
.
Input Arguments
Output Arguments
Properties
Object Functions
configurePin | Configure GPIO pin as digital input or digital output |
deleteFile | Delete file on target hardware |
getCameraList | Get a list of available cameras on the NVIDIA hardware |
getDisplayEnvironment | Get the display environment value used for redirecting the display on the target |
getFile | Transfer file from NVIDIA hardware to host computer |
getL4TVersion | Get the L4T version of the NVIDIA Jetson hardware |
getLinuxVersion | Get information about the Linux environment on the target |
getPILPort | Get the TCP/IP port number used by the PIL execution |
getPILTimeout | Get the timeout value that PIL uses for reading data |
imageDisplay | Create an imageDisplay object for displaying images on
NVIDIA targets |
killApplication | Kill an application on the NVIDIA target by name |
killProcess | Kill a process on the NVIDIA target by ID |
listAudioDevices | Get a list of available audio devices on the NVIDIA hardware |
openShell | Open terminal on host computer to use a Linux shell on NVIDIA hardware |
putFile | Transfer file from host computer to target hardware |
readDigitalPin | Read logical value from GPIO input pin |
runApplication | Launch an application on the NVIDIA target by name |
runExecutable | Launch an executable on the NVIDIA target by name |
setDisplayEnvironment | Set the display environment value used for redirecting the display on the target |
setPILPort | Set the TCP/IP port number used by the PIL execution |
setPILTimeout | Set the timeout value that PIL uses for reading data |
setupCodegenContext | Select the target hardware to build code for from multiple live connection objects |
showPins | Show diagram of GPIO pins |
system | Run commands in a Linux shell on the NVIDIA hardware |
updatePeripheralInfo | Scan for and update the list of peripherals connected to the target hardware |
webcam | Create webcam object to acquire images from an USB webcam
attached to the NVIDIA hardware |
workspaceDir | Get the build directory on the NVIDIA hardware |
writeDigitalPin | Write logical value to GPIO output pin |
Examples
Extended Capabilities
Version History
Introduced in R2018b
See Also
Objects
Topics
- Sobel Edge Detection on NVIDIA Jetson Nano Using Raspberry Pi Camera Module V2
- Getting Started with the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms
- Deploy and Run Sobel Edge Detection with I/O on NVIDIA Jetson Nano
- Build and Run an Executable on NVIDIA Hardware
- Stop or Restart an Executable Running on NVIDIA Hardware
- Run Linux Commands on NVIDIA Hardware