You can copy a file, such as.profile, from the BeagleBone Black hardware to the MATLAB current folder on your host computer.
getFile(bbb,'/home/bbb/.profile')
Download Files to a Folder on Your Computer
You can use a wildcard to copy any matching file or files from the BeagleBone Black hardware to your host computer. You can specify the path of a destination folder. The folder must previously exist.
bbb—Connection to BeagleBone®Black hardware beagleboneobject
BeagleBone Black connection created usingbeaglebone, specified as an object.
source—Path and name of file on BeagleBone Black hardware path and name file name
Path and file name on the BeagleBone Black hardware, specified as a character vector. You can use either the absolute path from the root folder, or the relative path from the present working folder. Use Linux®path and file naming conventions. The present working folder is/home/username/.
Example:'.profile'
Example:'/home/bbb/.profile'
Example:'/home/bbb/.pro*'
Data Types:char
destination—Path and name of file on host computer MATLAB current folder(default) |destination path
Path and name of file on host computer, specified as a character vector. If not specified,getFileuses the MATLAB current folder and the current file name. Use the naming conventions of the operating system on the host computer. This function does not create new folders. Folders in the path must previously exist. Optional.
You can also select a web site from the following list:
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.