Main Content

Files and Folders

Folders

Folder Management

MATLAB® Mobile™ supports the following functionality for folder management:

  • Create, rename, and delete folders directly in the File Browser.

    • To create a new folder: Tap Plus icon and select New folder. Enter a valid folder name and tap Create.

    • To rename or delete a folder, swipe the folder name left (iOS) or tap Three dots icon next to the folder name (Android), and select either Rename or Delete. On some more recent versions of iOS, you can also delete a folder when you press on the folder and hold. If you choose Rename, you must enter a valid folder name.

  • To refresh the folder list, pull down.

You can also open, copy, move, rename, and delete folders by using the MATLAB commands at the command line.

Folder Support

To browse different folders, tap the folder you want to look through. You can navigate through your MATLAB Drive™ using the breadcrumb.

To change the current working folder while using the command line, enter the cd command with the folder name you want to switch to.

Files

File Storage

Files stored on your MATLAB Drive are accessible from the File Browser inside MATLAB Mobile.

In the iOS Files app you can also open MATLAB .m or .mlx files from any of your configured drives. Before opening, the file is automatically copied to your MATLAB Drive. Subsequent changes are saved to that copy.

To access your computer files when your MATLAB Mobile session is connected to the Cloud, first upload the files from your computer to your MATLAB Drive. For instructions, see Upload Files from Desktop or Laptop.

File Management

MATLAB Mobile supports the following functionality for file management:

  • You can create, open, rename, and delete files directly in the File Browser.

    • To create a new MATLAB .m script or other text file, tap Plus icon and select New Script. Enter a valid file name. For a .m file, the name must be a valid MATLAB name (must start with a letter and contain only letters, numbers and underscores).

    • To delete a file, swipe the file name left (iOS) or tap the three dots Three dot icon next to the file name (Android), and then tap Delete.

    • To rename a file, swipe the file name left and tap the gray box with three dots (iOS), or tap the three dots Three dot icon next to the file name (Android), and then tap Rename. Enter a valid file name.

    • On some more recent versions of iOS, you can also copy the file path, rename, and delete a file when you press on the file and hold.

  • You can also open, copy, move, rename, and delete files by using the appropriate command at the MATLAB command line. For example, to open a file, enter the following at the command line:

    open filename

    where filename is the name of the file you want to open.

Related Topics