putFile

Transfer file from host computer to target hardware

Description

putFile(hwObj,source) copies the specified file from the MATLAB® current folder to the current folder (pwd) on the NVIDIA® hardware. Wildcards are supported.

example

putFile(hwObj,source,destination) copies the file to a destination path and optional file name.

Examples

collapse all

You can copy a file, such as .profile, from your host computer to the NVIDIA hardware. Use the different file and path conventions of each operating system.

putFile(hwJetson,'C:\Work\.profile','/home/ubuntu/.profile')

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.

Path and name of file on host computer, specified as a character vector. If a path is not specified, putFile uses the MATLAB current folder. Use the naming conventions of the operating system on the host computer.

Example: 'profile.txt'

Example: 'C:\Users\myusername\Desktop\profile.txt'

Destination folder path and optional file name, specified as a character vector. Use Linux® path and file naming conventions. The default path is ~/.

Example: '/home/ubuntu/.profile'

Introduced in R2018b