Main Content

Management of Raspberry Pi Files

Note

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

You can manage files on the Raspberry Pi® hardware. The getFile function downloads files from the Raspberry Pi hardware. The putFile function uploads files to the Raspberry Pi hardware. The deleteFile function deletes files on the Raspberry Pi hardware. All of these functions:

  • Use SCP and SSH protocols, which provide encrypted communications.

  • Use the current folder in MATLAB as the default file location in on the host computer.

  • Use the present working directory (pwd) as the default file location on the Raspberry Pi hardware.

  • Accept absolute or relative paths to specify nondefault file locations.

  • Let you specify the destination file name.

For more information, see: