Main Content

deleteFile

Delete file from hardware

Add-On Required: This feature requires the MATLAB Support Package for BeagleBone Black Hardware add-on.

Description

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

example

Examples

collapse all

You can delete a file that is on the BeagleBone Black hardware.

deleteFile(bbb,'/home/bbb/cap.jpg')

You can delete multiple files that are on the BeagleBone Black hardware using a wildcard character, *.

deleteFile(bbb,'/home/bbb/*.jpg') 

Input Arguments

collapse all

BeagleBone Black connection created using beaglebone, specified as an object.

File to delete, specified as a character vector. You can delete a file that is on the BeagleBone Black hardware. When you specify the file name, you can use path information and wildcards.

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

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

Data Types: cell

Version History

Introduced in R2015a