deleteFile

Delete file on target hardware

Description

example

deleteFile(hwObj,filename) deletes the specified file from the target hardware.

Examples

collapse all

You can delete a file on the NVIDIA® hardware.

deleteFile(hwObj,'/home/ubuntu/cap.jpg')

You can delete multiple files on the NVIDIA hardware using a wildcard character, *.

deleteFile(hwObj,'/home/ubuntu/*.jpg') 

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.

File to delete, specified as a string. You can delete a file on the NVIDIA hardware. When you specify the file name, you can use path information and wildcards.

Example: '/home/ubuntu/cap.jpg'

Example: '/home/ubuntu/*.jpg'

Example: 'myvideo.mp4'

Data Types: cell

Introduced in R2018b