This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

deleteFile

Delete file on target hardware

Syntax

deleteFile(hwObj,filename)

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