Main Content

deleteFile

Delete file on target hardware

Add-On Required: This feature requires the MATLAB Coder Support Package for NVIDIA Jetson and NVIDIA DRIVE Platforms add-on.

Description

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

example

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.

File to delete on the NVIDIA target hardware, specified as a character vector. 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'

Version History

Introduced in R2018b