getFile

Transfer file from NVIDIA hardware to host computer

Description

getFile(hwObj,source) copies the specified file from the NVIDIA® hardware to the MATLAB® current folder. Path names and wildcards can be used to specify the source file.

example

getFile(hwObj,source,destination) copies the file to a destination path and optional file name. Path names and wildcards can be used to specify the file.

Examples

collapse all

You can copy a file, such as .profile, from the NVIDIA hardware to the MATLAB current folder on your host computer.

getFile(hwJetson,'/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 file name on the NVIDIA hardware, specified as a character vector. You can use either the absolute path from the root folder, or the relative path from the present working folder. Use Linux® path and file naming conventions. The default path is ~/.

Example: '.profile'

Example: '/home/ubuntu/.profile'

Path and name of file on host computer, specified as a character vector. If not specified, getFile uses the MATLAB current folder and the source file name. Use the naming conventions of the operating system on the host computer. This function does not create folders. Folders in the path must exist.

Example: 'C:\Users\myusername\Desktop'

Introduced in R2018b