jetson
Description
This object represents a connection from the MATLAB®software to the NVIDIA®Jetson™ hardware. To create this object, use thejetson
function. To interact with the Jetson hardware, use this object with the functions listed inObject 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. Thejetson
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 theobj
object to interact with the Jetson hardware and attached peripherals such as a camera. To close the connection, useclear
to removeobj
and any other connections that useobj
.
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 theNVIDIAhardware |
getDisplayEnvironment |
Get the display environment value used for redirecting the display on the target |
getFile |
Transfer file fromNVIDIAhardware to host computer |
getL4TVersion |
Get the L4T version of theNVIDIAJetsonhardware |
getLinuxVersion |
Get information about theLinuxenvironment on the target |
getPdkorSdkVersion |
Get the version number of the DriveWorks SDK installed on theNVIDIA DRIVEhardware |
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 animageDisplay object for displaying images onNVIDIAtargets |
killApplication |
Kill an application on theNVIDIAtarget by name |
killProcess |
Kill a process on theNVIDIAtarget by ID |
listAudioDevices |
Get a list of available audio devices on theNVIDIAhardware |
openShell |
Open terminal on host computer to use aLinuxshell onNVIDIAhardware |
putFile |
Transfer file from host computer to target hardware |
readDigitalPin |
Read logical value from GPIO input pin |
runApplication |
Launch an application on theNVIDIAtarget by name |
runExecutable |
Launch an executable on theNVIDIAtarget 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 aLinuxshell on theNVIDIAhardware |
updatePeripheralInfo |
Scan for and update the list of peripherals connected to the target hardware |
webcam |
Createwebcam object to acquire images from an USB webcam attached to theNVIDIAhardware |
writeDigitalPin |
Write logical value to GPIO output pin |
Examples
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