Manage BeagleBone Black Files

You can download files from, upload files to, and delete files from the BeagleBone Black hardware.

To download a file from the BeagleBone Black hardware to your host computer, use the getFile function. Use the second argument to specify the path and name of the file.

system(bbb,'ls')
getFile(bbb,'/home/pi/.profile')

By default, getFile saves the file to the current folder in MATLAB®. You can use a third argument to specify a download folder on your host computer.

getFile(bbb,'/home/pi/.profile','C:\Users\username\Desktop')
To upload a file to the BeagleBone Black hardware, use the putFile function.
putFile(bbb,'C:\Users\username\Desktop\.profile','/home/pi/')

For more information, see Linux.