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.

Manage Raspberry Pi Files


Certain Linux® functions are limited in MATLAB® Online™. See Security Considerations for Raspberry Pi in MATLAB Online for details.

You can download files from, upload files to, and delete files from the Raspberry Pi™ hardware.

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


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.

To upload a file to the Raspberry Pi hardware, use the putFile function.

If you use the Camera Board to record video, download the video file. Then, delete the file from the Raspberry Pi hardware.


For more information, see Linux.