Transfer file from host computer to target hardware


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


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


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.


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, specified as a character vector. Use Linux® naming conventions. The default path is ~/.

Example: '/home/ubuntu'

Introduced in R2018b